forked from OSchip/llvm-project
[clang-tidy] Add doc for `explain-config` option.
llvm-svn: 282158
This commit is contained in:
parent
5f44b04475
commit
e5555e217c
|
@ -129,8 +129,9 @@ List all enabled checks and exit. Use with
|
|||
cl::init(false), cl::cat(ClangTidyCategory));
|
||||
|
||||
static cl::opt<bool> ExplainConfig("explain-config", cl::desc(R"(
|
||||
for each enabled check explains, where it is enabled, i.e. in clang-tidy binary,
|
||||
command line or a specific configuration file.
|
||||
For each enabled check explains, where it is
|
||||
enabled, i.e. in clang-tidy binary, command
|
||||
line or a specific configuration file.
|
||||
)"),
|
||||
cl::init(false), cl::cat(ClangTidyCategory));
|
||||
|
||||
|
|
|
@ -139,6 +139,10 @@ An overview of all the command-line options:
|
|||
-enable-check-profile -
|
||||
Enable per-check timing profiles, and print a
|
||||
report to stderr.
|
||||
-explain-config -
|
||||
For each enabled check explains, where it is
|
||||
enabled, i.e. in clang-tidy binary, command
|
||||
line or a specific configuration file.
|
||||
-export-fixes=<filename> -
|
||||
YAML file to store suggested fixes in. The
|
||||
stored fixes can be applied to the input source
|
||||
|
|
Loading…
Reference in New Issue