]> granicus.if.org Git - clang/commit
Eliminate the ItaniumVTableContext object from CodeGenVTables
authorReid Kleckner <reid@kleckner.net>
Fri, 20 Dec 2013 23:58:52 +0000 (23:58 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 20 Dec 2013 23:58:52 +0000 (23:58 +0000)
commit2a50f239a90d670b3911cae9024b363cbfae87cc
tree81fc597d9ba674cb02de31f228d8e97427fa4cfb
parentba52d9d45592b5f667001a61a24f2761b66193ff
Eliminate the ItaniumVTableContext object from CodeGenVTables

Now CodeGenVTables has only one VTableContext object, which is either
Itanium or Microsoft.

Fixes a FIXME with no functionality change intended.

Ideally we could avoid the downcasts by pushing the things that
reference the Itanium vtable context into ItaniumCXXABI.cpp, but we're
not there yet.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197845 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/VTableBuilder.h
lib/AST/VTableBuilder.cpp
lib/CodeGen/CGVTT.cpp
lib/CodeGen/CGVTables.cpp
lib/CodeGen/CGVTables.h