[analyzer] Display the checker name in the text output
authorKirstóf Umann <dkszelethus@gmail.com>
Fri, 20 Mar 2020 15:45:53 +0000 (16:45 +0100)
committerKirstóf Umann <dkszelethus@gmail.com>
Thu, 9 Apr 2020 14:21:45 +0000 (16:21 +0200)
commita2b6ece1fd4e13f2f463c5075eb0e513af47e656
tree69cd5ada3082996ed2ccc8b2331c2c2a7dc6f485
parent2df6a02fd75fb7a5581753133794d68c7533b7eb
[analyzer] Display the checker name in the text output

Exactly what it says on the tin! There is no reason I think not to have this.

Also, I added test files for checkers that emit warning under the wrong name.

Differential Revision: https://reviews.llvm.org/D76605
clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
clang/test/Analysis/analyzer-config.c
clang/test/Analysis/dispatch-once.m
clang/test/Analysis/explain-svals.c
clang/test/Analysis/explain-svals.cpp
clang/test/Analysis/explain-svals.m
clang/test/Analysis/incorrect-checker-names.cpp [new file with mode: 0644]
clang/test/Analysis/incorrect-checker-names.mm [new file with mode: 0644]