[cfe-commits] r120130 - /cfe/trunk/lib/AST/CXXInheritance.cpp
Anders Carlsson
andersca at mac.com
Wed Nov 24 14:55:29 PST 2010
Author: andersca
Date: Wed Nov 24 16:55:29 2010
New Revision: 120130
URL: http://llvm.org/viewvc/llvm-project?rev=120130&view=rev
Log:
Fix typo.
Modified:
cfe/trunk/lib/AST/CXXInheritance.cpp
Modified: cfe/trunk/lib/AST/CXXInheritance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CXXInheritance.cpp?rev=120130&r1=120129&r2=120130&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CXXInheritance.cpp (original)
+++ cfe/trunk/lib/AST/CXXInheritance.cpp Wed Nov 24 16:55:29 2010
@@ -674,7 +674,7 @@
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 @@
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 =
More information about the cfe-commits
mailing list