Add a note about a missing optimization in the case of virtual
inheritance. llvm-svn: 153722
This commit is contained in:
@@ -731,6 +731,9 @@ void CodeGenFunction::EmitConstructorBody(FunctionArgList &Args) {
|
||||
|
||||
EHScopeStack::stable_iterator CleanupDepth = EHStack.stable_begin();
|
||||
|
||||
// TODO: in restricted cases, we can emit the vbase initializers of
|
||||
// a complete ctor and then delegate to the base ctor.
|
||||
|
||||
// Emit the constructor prologue, i.e. the base and member
|
||||
// initializers.
|
||||
EmitCtorPrologue(Ctor, CtorType, Args);
|
||||
|
||||
Reference in New Issue
Block a user