[clang] [NFC][clang] Avoid inheriting [[noreturn]] in explicit function template specializations (PR #150003)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 22 07:06:58 PDT 2025
================
----------------
zwuis wrote:
Can you add this test case?
```cpp
template<typename T>
struct S {
void f();
};
template<typename T>
void S<T>::f() {}
template<>
void S<int>::f() { throw 0; }
```
https://github.com/llvm/llvm-project/pull/150003
More information about the cfe-commits
mailing list