================ Comment at: lib/CodeGen/CGCXX.cpp:185 @@ -184,3 @@ - // ignores virtual bases. - if (getTarget().getCXXABI().hasConstructorVariants()) - EmitGlobal(GlobalDecl(D, Ctor_Base)); ---------------- This seems fine. Alternatively, we could consider Ctor_Base to be the "true" ctor variant that we always emit, and alias Ctor_Complete to Ctor_Base the way we do for dtors of classes with no virtual bases. I'm not sure how invasive that would be.
http://llvm-reviews.chandlerc.com/D1248 _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
