aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/DebugInfo.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-14 01:46:44 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-14 01:46:44 +0000
commitde8e4273944004a9d5bf26254f46cf75d269e41e (patch)
treee00dcb80c644b42d0398b3c610d11d7ed8b4c9cf /llvm/lib/IR/DebugInfo.cpp
parentb7e221ba5530d2da215a47d7adcecc87e9506d8d (diff)
downloadllvm-de8e4273944004a9d5bf26254f46cf75d269e41e.zip
llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.tar.gz
llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.tar.bz2
DebugInfo: Gut DIObjCProperty and DIImportedEntity
Gut a couple more classes in the DIDescriptor hierarchy. Leave behind an implicit conversion to `DIDescriptor`, the old base class. llvm-svn: 234836
Diffstat (limited to 'llvm/lib/IR/DebugInfo.cpp')
-rw-r--r--llvm/lib/IR/DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DebugInfo.cpp b/llvm/lib/IR/DebugInfo.cpp
index 2c3d00b..fe74ec5 100644
--- a/llvm/lib/IR/DebugInfo.cpp
+++ b/llvm/lib/IR/DebugInfo.cpp
@@ -163,7 +163,7 @@ void DebugInfoFinder::processModule(const Module &M) {
for (auto *RT : CU->getRetainedTypes())
processType(RT);
for (DIImportedEntity Import : CU->getImportedEntities()) {
- DIDescriptor Entity = Import.getEntity().resolve(TypeIdentifierMap);
+ auto *Entity = Import->getEntity().resolve(TypeIdentifierMap);
if (auto *T = dyn_cast<MDType>(Entity))
processType(T);
else if (auto *SP = dyn_cast<MDSubprogram>(Entity))