aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-06-24 14:47:03 -0700
committerFangrui Song <i@maskray.me>2021-06-24 14:47:03 -0700
commitf1e2d5851bf869685971d5acb894b39a89ea2d49 (patch)
tree0bae67984973057501f4f3be116e92be20623360 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent9ca0171a9ffdef5fdb1511d197a3fd72490362de (diff)
downloadllvm-f1e2d5851bf869685971d5acb894b39a89ea2d49.zip
llvm-f1e2d5851bf869685971d5acb894b39a89ea2d49.tar.gz
llvm-f1e2d5851bf869685971d5acb894b39a89ea2d49.tar.bz2
[OptTable] Rename PrintHelp to printHelp
To be consistent with other member functions and match the coding standard.
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r--clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
index ac64e17..b95851e 100644
--- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
+++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
@@ -187,7 +187,7 @@ CreateFrontendAction(CompilerInstance &CI) {
bool ExecuteCompilerInvocation(CompilerInstance *Clang) {
// Honor -help.
if (Clang->getFrontendOpts().ShowHelp) {
- driver::getDriverOptTable().PrintHelp(
+ driver::getDriverOptTable().printHelp(
llvm::outs(), "clang -cc1 [options] file...",
"LLVM 'Clang' Compiler: http://clang.llvm.org",
/*Include=*/driver::options::CC1Option,