Eliminate ObjCClassDecl, which is redundant now that ObjCInterfaceDecl

covers both declarations (@class) and definitions (@interface) of an
Objective-C class.

llvm-svn: 147299
This commit is contained in:
Douglas Gregor
2011-12-27 22:43:10 +00:00
parent 45146a12cf
commit deafd0b2a4
32 changed files with 81 additions and 271 deletions

View File

@@ -837,11 +837,6 @@ void AddTopLevelDeclarationToHash(Decl *D, unsigned &Hash) {
AddTopLevelDeclarationToHash(*P, Hash);
return;
}
if (ObjCClassDecl *Class = dyn_cast<ObjCClassDecl>(D)) {
AddTopLevelDeclarationToHash(Class->getForwardInterfaceDecl(), Hash);
return;
}
}
class TopLevelDeclTrackerConsumer : public ASTConsumer {