[cfe-commits] r159212 - in /cfe/trunk: include/clang/AST/DeclCXX.h include/clang/AST/Expr.h lib/AST/DeclCXX.cpp lib/AST/Expr.cpp lib/CodeGen/CGExprCXX.cpp lib/Sema/SemaExpr.cpp test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp

Rafael Espíndola rafael.espindola at gmail.com
Wed Jun 27 13:55:02 PDT 2012


> Yes.  Your test case has a subtle flaw:  'bar' is actually the primary base
> of 'zed' (and is therefore laid out at offset zero) because 'foo' doesn't
> provide a vtable.

Ah. I have a patch that fixes this, I just have to refactor it a bit.
Should be ready tonight.

> John.

Thanks,
Rafael




More information about the cfe-commits mailing list