Issue |
119890
|
Summary |
Clang-Tidy silent failures are extremely misleading
|
Labels |
clang-tidy
|
Assignees |
|
Reporter |
higher-performance
|
[Example](https://godbolt.org/z/n7Eddabrd):
```c++
int main() { return 0; }
```
```
clang-query> m expr(hasType(anyOf(type(), type())))
0 matches.
```
These should really produce errors -- it's too easy to write a complicated query thinking that `anyOf` or `allOf` are working correctly when they aren't.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs