================
@@ -7268,9 +7389,10 @@ static bool HandleConstructorCall(const Expr *E, const
LValue &This,
// This is the point at which the dynamic type of the object becomes this
// class type.
- if (I->isBaseInitializer() && BasesSeen == RD->getNumBases())
+ if (I->isBaseInitializer() && BasesSeen == NonVirtualBases)
EvalObj.finishedConstructingBases();
- }
+
+ } // END OF FOR LOOP
----------------
yronglin wrote:
We don't need this, right?
```suggestion
}
```
https://github.com/llvm/llvm-project/pull/204289
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits