llvm-project/clang-tools-extra/test/clang-tidy
liuke ea72b55b5c bugprone-argument-comment: SourceLocation valid judgment avoid emitting coredump in isInSystemHeader
If the Node has an invalid location, it will trigger assert in
isInSystemHeader(...).

void test() {
  __builtin_va_list __args;
  // __builtin_va_list has no defination in any source file and its
  // CXXConstructorDecl has invalid sourcelocation
}
coredump with "Assertion `Loc.isValid() && "Can't get file
characteristic of invalid loc!"' failed." in
getFileCharacteristic(SourceLocation).
2021-10-13 12:31:02 -04:00
..
checkers bugprone-argument-comment: SourceLocation valid judgment avoid emitting coredump in isInSystemHeader 2021-10-13 12:31:02 -04:00
infrastructure Revert 9b944c1843 with fixes 2021-09-29 08:00:45 -04:00
check_clang_tidy.py [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00