Skip to content

Commit 58cb487

Browse files
committed
Revert "[mlir] Fix '-Wtemplate-id-cdtor'. NFC"
This reverts commit fccb65e. It breaks pre-merge CI: ``` 2025-12-08T16:35:11.7239054Z /home/gha/actions-runner/_work/llvm-project/llvm-project/mlir/lib/Pass/PassRegistry.cpp:439:37: error: ISO C++ requires the name after '::~' to be found in the same scope as the name before '::~' [-Werror,-Wdtor-name] 2025-12-08T16:35:11.7240458Z 439 | llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default; 2025-12-08T16:35:11.7241014Z | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 2025-12-08T16:35:11.7241494Z | ::OptionValue 2025-12-08T16:35:11.7241903Z 1 error generated. ```
1 parent 2a5420e commit 58cb487

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
@@ -436,7 +436,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
436436
return *this;
437437
}
438438

439-
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;
439+
llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
440440

441441
void llvm::cl::OptionValue<OpPassManager>::setValue(
442442
const OpPassManager &newValue) {

0 commit comments

Comments
 (0)