[llvm] r230609 - IR: Add default constructor for DIImportedEntity
Duncan P. N. Exon Smith
dexonsmith at apple.com
Wed Feb 25 20:41:10 PST 2015
Author: dexonsmith
Date: Wed Feb 25 22:41:10 2015
New Revision: 230609
URL: http://llvm.org/viewvc/llvm-project?rev=230609&view=rev
Log:
IR: Add default constructor for DIImportedEntity
Add a default constructor for `DIImportedEntity`, to be used in clang in
a follow-up.
Modified:
llvm/trunk/include/llvm/IR/DebugInfo.h
Modified: llvm/trunk/include/llvm/IR/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/DebugInfo.h?rev=230609&r1=230608&r2=230609&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/IR/DebugInfo.h Wed Feb 25 22:41:10 2015
@@ -1030,6 +1030,7 @@ class DIImportedEntity : public DIDescri
void printInternal(raw_ostream &OS) const;
public:
+ DIImportedEntity() {}
explicit DIImportedEntity(const MDNode *N) : DIDescriptor(N) {}
DIScope getContext() const { return getFieldAs<DIScope>(1); }
DIDescriptorRef getEntity() const { return getFieldAs<DIDescriptorRef>(2); }
More information about the llvm-commits
mailing list