diff --git a/include/llvm/IR/DebugInfo.h b/include/llvm/IR/DebugInfo.h index 91056b0fcb3..d2e59752080 100644 --- a/include/llvm/IR/DebugInfo.h +++ b/include/llvm/IR/DebugInfo.h @@ -1030,7 +1030,7 @@ class DIImportedEntity : public DIDescriptor { void printInternal(raw_ostream &OS) const; public: - DIImportedEntity() {} + DIImportedEntity() = default; explicit DIImportedEntity(const MDNode *N) : DIDescriptor(N) {} DIScope getContext() const { return getFieldAs(1); } DIDescriptorRef getEntity() const { return getFieldAs(2); }