diff options
author | Anders Carlsson <andersca@mac.com> | 2010-11-24 23:12:57 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-11-24 23:12:57 +0000 |
commit | c9e814ba193f38a7b08268612248f63beb279bb3 (patch) | |
tree | e67af931c0d9d72fdc5798b5a33d7a777914f2bd /lib/CodeGen/CGDebugInfo.cpp | |
parent | bdb4a9da62c585c4f5384a5976cdb36725a44f98 (diff) |
Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index cc5b1986a9..e033d2fa69 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -1045,7 +1045,7 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty, while (1) { const ASTRecordLayout &BRL = CGM.getContext().getASTRecordLayout(PBase); const CXXRecordDecl *PBT = BRL.getPrimaryBase(); - if (PBT && !BRL.getPrimaryBaseWasVirtual()) + if (PBT && !BRL.isPrimaryBaseVirtual()) PBase = PBT; else break; |