summaryrefslogtreecommitdiff
path: root/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
commit4e5a4032df58d697795531374fda4f3f866e87dc (patch)
treeda9bd0d53d58e79524e2f36ee08d628ea742ba96 /lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent298c9cbb3d024592866d921ee927a96479a3cb03 (diff)
downloadclang-4e5a4032df58d697795531374fda4f3f866e87dc.tar.gz
Debug Info: Remove an unnecessary debug type visitor.
Thanks to dblaikie for spotting this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
-rw-r--r--lib/CodeGen/ObjectFilePCHContainerOperations.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/CodeGen/ObjectFilePCHContainerOperations.cpp b/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
index a850c5ae39..b16544e2e1 100644
--- a/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
+++ b/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()))