summaryrefslogtreecommitdiffstats
path: root/clang/lib/Tooling/CommonOptionsParser.cpp
diff options
context:
space:
mode:
authorEdwin Vane <edwin.vane@intel.com>2012-12-14 18:58:25 +0000
committerEdwin Vane <edwin.vane@intel.com>2012-12-14 18:58:25 +0000
commit524741fbbd61804a038fdb83fa022b38ed79468b (patch)
treefd013173d36bf8dc5de2ae6fa6d14a3a7dfd0eeb /clang/lib/Tooling/CommonOptionsParser.cpp
parent164fdb607b65be8a0a637c60a098a53ef5e4cf82 (diff)
downloadbcm5719-llvm-524741fbbd61804a038fdb83fa022b38ed79468b.tar.gz
bcm5719-llvm-524741fbbd61804a038fdb83fa022b38ed79468b.zip
Style and Doc fix for CommonOptionsParser
- Renaming GetCompilations() and GetSourcePathList() to follow LLVM style. - Updating docs to reflect name change. - Also updating help text to not mention clang-check since this class can be used by any tool. Reviewed By: Alexander Kornienko llvm-svn: 170229
Diffstat (limited to 'clang/lib/Tooling/CommonOptionsParser.cpp')
-rw-r--r--clang/lib/Tooling/CommonOptionsParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Tooling/CommonOptionsParser.cpp b/clang/lib/Tooling/CommonOptionsParser.cpp
index 15091c7e901..99aff9f4e97 100644
--- a/clang/lib/Tooling/CommonOptionsParser.cpp
+++ b/clang/lib/Tooling/CommonOptionsParser.cpp
@@ -38,8 +38,8 @@ const char *const CommonOptionsParser::HelpMessage =
"\tFor example, it can be a CMake build directory in which a file named\n"
"\tcompile_commands.json exists (use -DCMAKE_EXPORT_COMPILE_COMMANDS=ON\n"
"\tCMake option to get this output). When no build path is specified,\n"
- "\tclang-check will attempt to locate it automatically using all parent\n"
- "\tpaths of the first input file. See:\n"
+ "\ta search for compile_commands.json will be attempted through all\n"
+ "\tparent paths of the first input file . See:\n"
"\thttp://clang.llvm.org/docs/HowToSetupToolingForLLVM.html for an\n"
"\texample of setting up Clang Tooling on a source tree.\n"
"\n"
OpenPOWER on IntegriCloud