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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user