From: Duncan P. N. Exon Smith Date: Thu, 26 Feb 2015 04:41:10 +0000 (+0000) Subject: IR: Add default constructor for DIImportedEntity X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94a0f51a3f661c0e15889db07a4958e8f7a4f300;p=oota-llvm.git IR: Add default constructor for DIImportedEntity 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 --- diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 8a103b1e9a3..91056b0fcb3 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/include/llvm/IR/DebugInfo.h @@ -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(1); } DIDescriptorRef getEntity() const { return getFieldAs(2); }