Author: hokein Date: Thu Sep 22 09:36:43 2016 New Revision: 282158 URL: http://llvm.org/viewvc/llvm-project?rev=282158&view=rev Log: [clang-tidy] Add doc for `explain-config` option.
Modified: clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp clang-tools-extra/trunk/docs/clang-tidy/index.rst Modified: clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp?rev=282158&r1=282157&r2=282158&view=diff ============================================================================== --- clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp (original) +++ clang-tools-extra/trunk/clang-tidy/tool/ClangTidyMain.cpp Thu Sep 22 09:36:43 2016 @@ -129,8 +129,9 @@ List all enabled checks and exit. Use wi 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)); Modified: clang-tools-extra/trunk/docs/clang-tidy/index.rst URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/index.rst?rev=282158&r1=282157&r2=282158&view=diff ============================================================================== --- clang-tools-extra/trunk/docs/clang-tidy/index.rst (original) +++ clang-tools-extra/trunk/docs/clang-tidy/index.rst Thu Sep 22 09:36:43 2016 @@ -139,6 +139,10 @@ An overview of all the command-line opti -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits