Simplify.

llvm-svn: 104576
This commit is contained in:
Daniel Dunbar 2010-05-25 00:32:58 +00:00
parent b4d2fd2f0f
commit 105ce6db87
1 changed files with 1 additions and 2 deletions

View File

@ -6119,8 +6119,7 @@ bool Sema::DefineUsedVTables() {
// time through the loop and prefer indices (with are stable) to
// iterators (which are not).
for (unsigned I = 0; I != VTableUses.size(); ++I) {
CXXRecordDecl *Class
= cast_or_null<CXXRecordDecl>(VTableUses[I].first)->getDefinition();
CXXRecordDecl *Class = VTableUses[I].first->getDefinition();
if (!Class)
continue;