Issue 173045
Summary clang-tidy bugprone-argument-comment check template parameter arguments
Labels clang-tidy
Assignees
Reporter MatzeB
    The following example should be amenable to the `bugprone-argument-comment` rule:

```
template<typename Input, typename Output> class C {};
int main() {
  // Should produce a warning, as order is swapped:
 C</*Output=*/float, /*Input=*/int> xxx;
}
```

but currently it does not produce a warning:

```
$ clang-tidy --checks=bugprone-argument-comment ./test.cpp
... (no warning printed)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to