| Issue |
177569
|
| Summary |
[clang] -Wdocumentation false positive with non-type template parameter
|
| Labels |
clang:diagnostics,
false-positive
|
| Assignees |
|
| Reporter |
carlosgalvezp
|
Example:
```cpp
enum class Foo
{
a,
b
};
/// @tparam Foo Something
template <Foo>
void f();
```
Leads to:
```
source>:7:13: warning: template parameter 'Foo' not found in the template declaration [-Wdocumentation]
7 | /// @tparam Foo Something
| ^~~
```
https://godbolt.org/z/hda8WE1o3
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs