summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-09-10 17:13:31 +0000
committerAdrian Prantl <aprantl@apple.com>2015-09-10 17:13:31 +0000
commit54a3457fe1e2e50dedd5c576bb8bc2012e83e8e8 (patch)
tree3fce75f62dabce8a84e2a4681274180020b8fc94 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent7eb5464bc551dc7c3c1b3fe2ee618f6efd588b6f (diff)
downloadbcm5719-llvm-54a3457fe1e2e50dedd5c576bb8bc2012e83e8e8.tar.gz
bcm5719-llvm-54a3457fe1e2e50dedd5c576bb8bc2012e83e8e8.zip
Debug Info: Remove an unnecessary debug type visitor.
Thanks to dblaikie for spotting this. llvm-svn: 247303
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r--clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
index a850c5ae39d..b16544e2e12 100644
--- a/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
+++ b/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
@@ -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()))
OpenPOWER on IntegriCloud