Mercurial > hg > CbC > CbC_llvm
comparison clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @ 223:5f17cb93ff66 llvm-original
LLVM13 (2021/7/18)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 18 Jul 2021 22:43:00 +0900 |
parents | 79ff65ed7e25 |
children | c4bab56944e8 |
comparison
equal
deleted
inserted
replaced
222:81f6424ef0e3 | 223:5f17cb93ff66 |
---|---|
185 } | 185 } |
186 | 186 |
187 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { | 187 bool ExecuteCompilerInvocation(CompilerInstance *Clang) { |
188 // Honor -help. | 188 // Honor -help. |
189 if (Clang->getFrontendOpts().ShowHelp) { | 189 if (Clang->getFrontendOpts().ShowHelp) { |
190 driver::getDriverOptTable().PrintHelp( | 190 driver::getDriverOptTable().printHelp( |
191 llvm::outs(), "clang -cc1 [options] file...", | 191 llvm::outs(), "clang -cc1 [options] file...", |
192 "LLVM 'Clang' Compiler: http://clang.llvm.org", | 192 "LLVM 'Clang' Compiler: http://clang.llvm.org", |
193 /*Include=*/driver::options::CC1Option, | 193 /*Include=*/driver::options::CC1Option, |
194 /*Exclude=*/0, /*ShowAllAliases=*/false); | 194 /*Exclude=*/0, /*ShowAllAliases=*/false); |
195 return true; | 195 return true; |