[all-commits] [llvm/llvm-project] cfd6b4: [analyzer] Don't allow hidden checkers to emit dia...
Kristóf Umann via All-commits
all-commits at lists.llvm.org
Mon Jul 6 06:35:53 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cfd6b4b811aa8bb193f744264e36e83de4bb3650
https://github.com/llvm/llvm-project/commit/cfd6b4b811aa8bb193f744264e36e83de4bb3650
Author: Kirstóf Umann <dkszelethus at gmail.com>
Date: 2020-07-06 (Mon, 06 Jul 2020)
Changed paths:
M clang/include/clang/StaticAnalyzer/Checkers/Checkers.td
M clang/lib/StaticAnalyzer/Core/BugReporter.cpp
M clang/test/Analysis/std-c-library-functions-arg-constraints.c
M clang/test/Analysis/std-c-library-functions-arg-constraints.cpp
M clang/test/Analysis/weak-dependencies.c
Log Message:
-----------
[analyzer] Don't allow hidden checkers to emit diagnostics
Hidden checkers (those marked with Hidden in Checkers.td) are meant for
development purposes only, and are only displayed under
-analyzer-checker-help-developer, so users shouldn't see reports from them.
I moved StdLibraryFunctionsArg checker to the unix package from apiModeling as
it violated this rule. I believe this change doesn't deserve a different
revision because it is in alpha, and the name is so bad anyways I don't
immediately care where it is, because we'll have to revisit it soon enough.
Differential Revision: https://reviews.llvm.org/D81750
More information about the All-commits
mailing list