summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DIBuilder.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/DIBuilder.cpp
parentb7e221ba5530d2da215a47d7adcecc87e9506d8d (diff)
downloadbcm5719-llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.tar.gz
bcm5719-llvm-de8e4273944004a9d5bf26254f46cf75d269e41e.zip
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/DIBuilder.cpp')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index 464dac5a25d..4fbe388799a 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/lib/IR/DIBuilder.cpp
@@ -177,7 +177,7 @@ createImportedModule(LLVMContext &C, dwarf::Tag Tag, DIScope Context,
SmallVectorImpl<TrackingMDNodeRef> &AllImportedModules) {
DIImportedEntity M =
MDImportedEntity::get(C, Tag, Context, DebugNodeRef(NS), Line, Name);
- AllImportedModules.emplace_back(M.get());
+ AllImportedModules.emplace_back(M);
return M;
}
OpenPOWER on IntegriCloud