llvm-project/clang-tools-extra/test/clang-tidy
Georgy Komarov c2e9baf2e8
[clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list
This commit fixes cppcoreguidelines-pro-type-vararg false positives on
'char *' variables.

The incorrect warnings generated by clang-tidy can be illustrated with
the following minimal example:

```
goid foo(char* in) {
  char *tmp = in;
}
```

The problem is that __builtin_ms_va_list desugared as 'char *', which
leads to false positives.

Fixes bugzilla issue 48042.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D101259
2021-05-04 13:49:20 +03:00
..
checkers [clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list 2021-05-04 13:49:20 +03:00
infrastructure [libtooling][clang-tidy] Fix off-by-one rendering issue with SourceRanges 2021-04-10 18:52:55 +02:00
check_clang_tidy.py [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00