[all-commits] [llvm/llvm-project] a2b6ec: [analyzer] Display the checker name in the text ou...

Kristóf Umann via All-commits all-commits at lists.llvm.org
Thu Apr 9 07:22:09 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a2b6ece1fd4e13f2f463c5075eb0e513af47e656
      https://github.com/llvm/llvm-project/commit/a2b6ece1fd4e13f2f463c5075eb0e513af47e656
  Author: Kirstóf Umann <dkszelethus at gmail.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
    M clang/lib/StaticAnalyzer/Core/TextDiagnostics.cpp
    M clang/test/Analysis/analyzer-config.c
    M clang/test/Analysis/dispatch-once.m
    M clang/test/Analysis/explain-svals.c
    M clang/test/Analysis/explain-svals.cpp
    M clang/test/Analysis/explain-svals.m
    A clang/test/Analysis/incorrect-checker-names.cpp
    A clang/test/Analysis/incorrect-checker-names.mm

  Log Message:
  -----------
  [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




More information about the All-commits mailing list