mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 515348 - Propagate point of instantiation in EvalTypeId.computeForFunctionCall()
Change-Id: I0b23a1e8ad86cbae225005429ca66ae03e6b3a34
This commit is contained in:
parent
fffe6bbf80
commit
375c3c6e50
1 changed files with 1 additions and 1 deletions
|
@ -395,7 +395,7 @@ public class EvalTypeId extends CPPDependentEvaluation {
|
|||
@Override
|
||||
public ICPPEvaluation computeForFunctionCall(ActivationRecord record,
|
||||
ConstexprEvaluationContext context) {
|
||||
ICPPFunction constructor = getConstructor(null);
|
||||
ICPPFunction constructor = getConstructor(context.getPoint());
|
||||
if (constructor != null && constructor instanceof ICPPConstructor) {
|
||||
return new EvalConstructor(fInputType, (ICPPConstructor) constructor, fArguments,
|
||||
getTemplateDefinition()).computeForFunctionCall(record, context);
|
||||
|
|
Loading…
Add table
Reference in a new issue