mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Cosmetics
Change-Id: I937489ee3a5d8b18352cdf0086730f7f70f54f49
This commit is contained in:
parent
2c5fdf503d
commit
ac04367ff9
1 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ public final class EvalConstructor extends CPPDependentEvaluation {
|
|||
|
||||
@Override
|
||||
public ICPPEvaluation computeForFunctionCall(ActivationRecord callSiteRecord, ConstexprEvaluationContext context) {
|
||||
final ICPPClassType classType = (ICPPClassType)SemanticUtil.getNestedType(fType, TDEF | REF | CVTYPE);
|
||||
final ICPPClassType classType = (ICPPClassType) SemanticUtil.getNestedType(fType, TDEF | REF | CVTYPE);
|
||||
final CompositeValue compositeValue = CompositeValue.create(classType);
|
||||
ICPPEvaluation[] argList = evaluateArguments(fArguments, callSiteRecord, context);
|
||||
EvalFixed constructedObject = new EvalFixed(fType, ValueCategory.PRVALUE, compositeValue);
|
||||
|
@ -324,7 +324,7 @@ public final class EvalConstructor extends CPPDependentEvaluation {
|
|||
|
||||
ICPPConstructor newConstructor;
|
||||
try {
|
||||
newConstructor = (ICPPConstructor)CPPTemplates.instantiateBinding(fConstructor, context, maxDepth);
|
||||
newConstructor = (ICPPConstructor) CPPTemplates.instantiateBinding(fConstructor, context, maxDepth);
|
||||
if (newConstructor instanceof CPPDeferredFunction) {
|
||||
ICPPFunction[] candidates = ((CPPDeferredFunction) newConstructor).getCandidates();
|
||||
if (candidates != null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue