diff options
author | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-05-01 14:57:16 +0000 |
commit | a3c85b862985797aaad098b87bb0046fcdc1a7d5 (patch) | |
tree | 98700fbbc01f11ebe64c2c55bb9f0d680dfad356 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | |
parent | cb3e98cf44c01b3ad592c195ac04de047a5930cc (diff) | |
download | bcm5719-llvm-a3c85b862985797aaad098b87bb0046fcdc1a7d5.tar.gz bcm5719-llvm-a3c85b862985797aaad098b87bb0046fcdc1a7d5.zip |
Unify Options.td and CC1Options.td, in a first step towards unifying the serialization logic in Frontend and Driver.
Reviewed by Eric, Doug and Chandler, and here: http://llvm.org/reviews/r/7/
llvm-svn: 155916
Diffstat (limited to 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
-rw-r--r-- | clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp index 07d2b8d19f2..f72d294e7ae 100644 --- a/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp +++ b/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp @@ -16,7 +16,7 @@ #include "clang/StaticAnalyzer/Frontend/FrontendActions.h" #include "clang/ARCMigrate/ARCMTActions.h" #include "clang/CodeGen/CodeGenAction.h" -#include "clang/Driver/CC1Options.h" +#include "clang/Driver/Options.h" #include "clang/Driver/OptTable.h" #include "clang/Frontend/CompilerInvocation.h" #include "clang/Frontend/CompilerInstance.h" @@ -129,7 +129,7 @@ static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { bool clang::ExecuteCompilerInvocation(CompilerInstance *Clang) { // Honor -help. if (Clang->getFrontendOpts().ShowHelp) { - OwningPtr<driver::OptTable> Opts(driver::createCC1OptTable()); + OwningPtr<driver::OptTable> Opts(driver::createDriverOptTable()); Opts->PrintHelp(llvm::outs(), "clang -cc1", "LLVM 'Clang' Compiler: http://clang.llvm.org"); return 0; |