mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 10:55:58 +08:00
Revert "[mlir] Fix '-Wtemplate-id-cdtor'. NFC"
This reverts commit fccb65ef8f.
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.
```
This commit is contained in:
@@ -436,7 +436,7 @@ llvm::cl::OptionValue<OpPassManager>::operator=(
|
||||
return *this;
|
||||
}
|
||||
|
||||
llvm::cl::OptionValue<OpPassManager>::~OptionValue() = default;
|
||||
llvm::cl::OptionValue<OpPassManager>::~OptionValue<OpPassManager>() = default;
|
||||
|
||||
void llvm::cl::OptionValue<OpPassManager>::setValue(
|
||||
const OpPassManager &newValue) {
|
||||
|
||||
Reference in New Issue
Block a user