]> granicus.if.org Git - clang/commit
Add ability to layout the vtable pointer in trivial cases. I noticed
authorMike Stump <mrs@apple.com>
Thu, 30 Jul 2009 00:22:38 +0000 (00:22 +0000)
committerMike Stump <mrs@apple.com>
Thu, 30 Jul 2009 00:22:38 +0000 (00:22 +0000)
commit3dee6efcad9ad56d14f7edd1c29924f0b876a7f9
treee35a916ac3b84b6116ac016822681449896f1151
parentbebc467b2455fa35fec2258b5ae088759f1ee952
Add ability to layout the vtable pointer in trivial cases.  I noticed
that we would silently do bad things with virtual bases in the layout
code, so, we just turn them off.  When people do better things with
them, we can turn them back on.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77556 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/RecordLayoutBuilder.cpp
lib/AST/RecordLayoutBuilder.h
lib/CodeGen/CodeGenTypes.cpp
test/CodeGenCXX/virt.cpp [new file with mode: 0644]