From 94a0f51a3f661c0e15889db07a4958e8f7a4f300 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Thu, 26 Feb 2015 04:41:10 +0000 Subject: [PATCH] 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 --- include/llvm/IR/DebugInfo.h | 1 + 1 file changed, 1 insertion(+) 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); }