-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Open
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature
Description
In clang-tidy, we have an option allow-enabling-analyzer-alpha-checkers
that is not visible to users.
llvm-project/clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
Lines 278 to 284 in b6313b3
/// This option allows enabling the experimental alpha checkers from the static | |
/// analyzer. This option is set to false and not visible in help, because it is | |
/// highly not recommended for users. | |
static cl::opt<bool> | |
AllowEnablingAnalyzerAlphaCheckers("allow-enabling-analyzer-alpha-checkers", | |
cl::init(false), cl::Hidden, | |
cl::cat(ClangTidyCategory)); |
I don't see a reason why it is invisible for users.
How can a user find out about the opportunity of running analyzer-alpha-checkers
without reading source code?
I believe there are people like me who could benefit from seeing this option in regular --help
documentation.
Moreover, the allow-enabling-analyzer-alpha-checkers
option is presented in run-clang-tidy
:
llvm-project/clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
Lines 298 to 301 in b6313b3
parser.add_argument( | |
"-allow-enabling-alpha-checkers", | |
action="store_true", | |
help="Allow alpha checkers from clang-analyzer.", |
Metadata
Metadata
Assignees
Labels
clang-tidyenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing feature