IR: Add default constructor for DIImportedEntity
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 26 Feb 2015 04:41:10 +0000 (04:41 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Thu, 26 Feb 2015 04:41:10 +0000 (04:41 +0000)
Add a default constructor for `DIImportedEntity`, to be used in clang in
a follow-up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230609 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/DebugInfo.h

index 8a103b1e9a31236af072f4bcac6c72b95e378a0b..91056b0fcb3ab1574db9579e5eb1318d901d6f13 100644 (file)
@@ -1030,6 +1030,7 @@ class DIImportedEntity : public DIDescriptor {
   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); }