diff options
author | Anders Carlsson <andersca@mac.com> | 2010-11-24 22:55:29 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2010-11-24 22:55:29 +0000 |
commit | 3a03765f706024f8b054635631547287bdd1831b (patch) | |
tree | 160053de70c0f9d252df1ad95e5e3e79cf519d91 /lib/AST/CXXInheritance.cpp | |
parent | 46170f9c7d561d0f94af34a4b5da909d2584370a (diff) |
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CXXInheritance.cpp')
-rw-r--r-- | lib/AST/CXXInheritance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/CXXInheritance.cpp b/lib/AST/CXXInheritance.cpp index 90a214ed8e..fd14a739df 100644 --- a/lib/AST/CXXInheritance.cpp +++ b/lib/AST/CXXInheritance.cpp @@ -674,7 +674,7 @@ AddIndirectPrimaryBases(const CXXRecordDecl *RD, ASTContext &Context, for (CXXRecordDecl::base_class_const_iterator I = RD->bases_begin(), E = RD->bases_end(); I != E; ++I) { - assert(!E->getType()->isDependentType() && + assert(!I->getType()->isDependentType() && "Cannot get indirect primary bases for class with dependent bases."); const CXXRecordDecl *BaseDecl = @@ -697,7 +697,7 @@ CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const { for (CXXRecordDecl::base_class_const_iterator I = bases_begin(), E = bases_end(); I != E; ++I) { - assert(!E->getType()->isDependentType() && + assert(!I->getType()->isDependentType() && "Cannot get indirect primary bases for class with dependent bases."); const CXXRecordDecl *BaseDecl = |