Debug Info: Remove an unnecessary debug type visitor.
Thanks to dblaikie for spotting this. llvm-svn: 247303
This commit is contained in:
@@ -70,13 +70,6 @@ class PCHContainerGenerator : public ASTConsumer {
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VisitValueDecl(ValueDecl *D) {
|
||||
QualType QualTy = D->getType();
|
||||
if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr()))
|
||||
DI.getOrCreateStandaloneType(QualTy, D->getLocation());
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VisitObjCInterfaceDecl(ObjCInterfaceDecl *D) {
|
||||
QualType QualTy(D->getTypeForDecl(), 0);
|
||||
if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr()))
|
||||
|
||||
Reference in New Issue
Block a user