diff options
| author | Adrian Prantl <aprantl@apple.com> | 2015-09-10 17:13:31 +0000 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2015-09-10 17:13:31 +0000 |
| commit | 4e5a4032df58d697795531374fda4f3f866e87dc (patch) | |
| tree | da9bd0d53d58e79524e2f36ee08d628ea742ba96 /lib/CodeGen/ObjectFilePCHContainerOperations.cpp | |
| parent | 298c9cbb3d024592866d921ee927a96479a3cb03 (diff) | |
| download | clang-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.cpp | 7 |
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())) |
