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:
Krzysztof Parzyszek
2025-12-08 10:46:16 -06:00
parent 2a5420ea51
commit 58cb4873f9

View File

@@ -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) {