[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
John McCall
rjmccall at apple.com
Wed Jun 27 13:58:04 PDT 2012
On Jun 27, 2012, at 1:55 PM, Rafael EspĂndola wrote:
>> 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.
Thanks!
John.
More information about the cfe-commits
mailing list