Skip to content

Commit 6f66530

Browse files
[mlir] Fix a warning
This patch fixes: mlir/lib/Pass/PassRegistry.cpp:425:37: error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name]
1 parent ba65710 commit 6f66530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Pass/PassRegistry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
422422
return *this;
423423
}
424424

425-
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;
425+
llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
426426

427427
void llvm::cl::OptionValue<OpPassManager>::setValue(
428428
const OpPassManager &newValue) {

0 commit comments

Comments
 (0)