mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
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
This commit is contained in:
parent
5a51d864b9
commit
94a0f51a3f
@ -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); }
|
||||
|
Loading…
Reference in New Issue
Block a user