summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
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