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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user