]> granicus.if.org Git - clang/commit
Instead of storing CXXMethodDecls in the vtable builder, store GlobalDecls so we...
authorAnders Carlsson <andersca@mac.com>
Fri, 13 Nov 2009 17:08:56 +0000 (17:08 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 13 Nov 2009 17:08:56 +0000 (17:08 +0000)
commita0fdd916bbaede20b4ef257af0f61487cb6ed85a
treec345a573468bdfecc84b91ee1ecf5f40383177cd
parent4b3cbeaea60a1a2d1adc73738123c24549b7ce2c
Instead of storing CXXMethodDecls in the vtable builder, store GlobalDecls so we can represent both the complete and deleting destructors. Also, when encountering a destructor decl, emit entries for both the complete and deleting destructors. Mike, please review.

With this change, FileCheck builds and runs the clang test suite without failures!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88663 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGCXX.cpp
lib/CodeGen/CGVtable.cpp
lib/CodeGen/CGVtable.h