зеркало из https://github.com/microsoft/clang-1.git
Remove obsolete debugging macro, make helper static.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142730 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
f634bcece3
Коммит
f5c7504d04
|
@ -18,13 +18,11 @@
|
|||
using namespace clang;
|
||||
using namespace CodeGen;
|
||||
|
||||
#define D1(x)
|
||||
|
||||
llvm::Constant *GetAddrOfVTTVTable(CodeGenVTables &CGVT,
|
||||
const CXXRecordDecl *MostDerivedClass,
|
||||
const VTTVTable &VTable,
|
||||
llvm::GlobalVariable::LinkageTypes Linkage,
|
||||
llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) {
|
||||
static llvm::Constant *
|
||||
GetAddrOfVTTVTable(CodeGenVTables &CGVT, const CXXRecordDecl *MostDerivedClass,
|
||||
const VTTVTable &VTable,
|
||||
llvm::GlobalVariable::LinkageTypes Linkage,
|
||||
llvm::DenseMap<BaseSubobject, uint64_t> &AddressPoints) {
|
||||
if (VTable.getBase() == MostDerivedClass) {
|
||||
assert(VTable.getBaseOffset().isZero() &&
|
||||
"Most derived class vtable must have a zero offset!");
|
||||
|
|
Загрузка…
Ссылка в новой задаче