IR: Add default constructor for DIImportedEntity

Add a default constructor for `DIImportedEntity`, to be used in clang in
a follow-up.

llvm-svn: 230609
This commit is contained in:
Duncan P. N. Exon Smith 2015-02-26 04:41:10 +00:00
parent 1d862af764
commit c316bbb912
1 changed files with 1 additions and 0 deletions

View 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); }