]> granicus.if.org Git - clang/commitdiff
Update after LLVM change r309087
authorGeorge Rimar <grimar@accesssoftek.com>
Wed, 26 Jul 2017 09:10:17 +0000 (09:10 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Wed, 26 Jul 2017 09:10:17 +0000 (09:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@309088 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Driver.cpp
lib/FrontendTool/ExecuteCompilerInvocation.cpp
tools/driver/cc1as_main.cpp

index 361d45f90ad6eca7c3534aae20f7c40b6ac64a46..b8cb16f2f66ca889983974a40464fe278426433f 100644 (file)
@@ -1124,7 +1124,8 @@ void Driver::PrintHelp(bool ShowHidden) const {
     ExcludedFlagsBitmask |= HelpHidden;
 
   getOpts().PrintHelp(llvm::outs(), Name.c_str(), DriverTitle.c_str(),
-                      IncludedFlagsBitmask, ExcludedFlagsBitmask);
+                      IncludedFlagsBitmask, ExcludedFlagsBitmask,
+                      /*ShowAllAliases=*/false);
 }
 
 void Driver::PrintVersion(const Compilation &C, raw_ostream &OS) const {
index 166631558806575d7600f5664f4b95aee68aeb8e..f35769c965e5ecfbb4f49d32e5c64eefc8197b0d 100644 (file)
@@ -179,7 +179,8 @@ bool clang::ExecuteCompilerInvocation(CompilerInstance *Clang) {
     std::unique_ptr<OptTable> Opts = driver::createDriverOptTable();
     Opts->PrintHelp(llvm::outs(), "clang -cc1",
                     "LLVM 'Clang' Compiler: http://clang.llvm.org",
-                    /*Include=*/ driver::options::CC1Option, /*Exclude=*/ 0);
+                    /*Include=*/driver::options::CC1Option,
+                    /*Exclude=*/0, /*ShowAllAliases=*/false);
     return true;
   }
 
index 2fc2b508ef21bf5fbff5e0bd68aba7cf04d63512..3f16733e53fa2eb42e64c7272c2aed13876686ba 100644 (file)
@@ -504,7 +504,8 @@ int cc1as_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) {
   if (Asm.ShowHelp) {
     std::unique_ptr<OptTable> Opts(driver::createDriverOptTable());
     Opts->PrintHelp(llvm::outs(), "clang -cc1as", "Clang Integrated Assembler",
-                    /*Include=*/driver::options::CC1AsOption, /*Exclude=*/0);
+                    /*Include=*/driver::options::CC1AsOption, /*Exclude=*/0,
+                    /*ShowAllAliases=*/false);
     return 0;
   }