diff options
Diffstat (limited to 'mlir/lib/IR/Diagnostics.cpp')
-rw-r--r-- | mlir/lib/IR/Diagnostics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/IR/Diagnostics.cpp b/mlir/lib/IR/Diagnostics.cpp index fc25258..327264a 100644 --- a/mlir/lib/IR/Diagnostics.cpp +++ b/mlir/lib/IR/Diagnostics.cpp @@ -257,7 +257,7 @@ void DiagnosticEngineImpl::emit(Diagnostic diag) { //===----------------------------------------------------------------------===// DiagnosticEngine::DiagnosticEngine() : impl(new DiagnosticEngineImpl()) {} -DiagnosticEngine::~DiagnosticEngine() {} +DiagnosticEngine::~DiagnosticEngine() = default; /// Register a new handler for diagnostics to the engine. This function returns /// a unique identifier for the registered handler, which can be used to @@ -434,7 +434,7 @@ SourceMgrDiagnosticHandler::SourceMgrDiagnosticHandler( : SourceMgrDiagnosticHandler(mgr, ctx, llvm::errs(), std::move(shouldShowLocFn)) {} -SourceMgrDiagnosticHandler::~SourceMgrDiagnosticHandler() {} +SourceMgrDiagnosticHandler::~SourceMgrDiagnosticHandler() = default; void SourceMgrDiagnosticHandler::emitDiagnostic(Location loc, Twine message, DiagnosticSeverity kind, @@ -952,7 +952,7 @@ struct ParallelDiagnosticHandlerImpl : public llvm::PrettyStackTraceEntry { ParallelDiagnosticHandler::ParallelDiagnosticHandler(MLIRContext *ctx) : impl(new ParallelDiagnosticHandlerImpl(ctx)) {} -ParallelDiagnosticHandler::~ParallelDiagnosticHandler() {} +ParallelDiagnosticHandler::~ParallelDiagnosticHandler() = default; /// Set the order id for the current thread. void ParallelDiagnosticHandler::setOrderIDForThread(size_t orderID) { |