Debug Info: Remove an unnecessary debug type visitor.

Thanks to dblaikie for spotting this.

llvm-svn: 247303
This commit is contained in:
Adrian Prantl
2015-09-10 17:13:31 +00:00
parent 7eb5464bc5
commit 54a3457fe1
2 changed files with 4 additions and 10 deletions

View File

@@ -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()))