summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver/cc1_main.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2012-05-01 14:57:16 +0000
committerJames Molloy <james.molloy@arm.com>2012-05-01 14:57:16 +0000
commita3c85b862985797aaad098b87bb0046fcdc1a7d5 (patch)
tree98700fbbc01f11ebe64c2c55bb9f0d680dfad356 /clang/tools/driver/cc1_main.cpp
parentcb3e98cf44c01b3ad592c195ac04de047a5930cc (diff)
downloadbcm5719-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/tools/driver/cc1_main.cpp')
-rw-r--r--clang/tools/driver/cc1_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/tools/driver/cc1_main.cpp b/clang/tools/driver/cc1_main.cpp
index a211090085d..f8e8a6b4f6b 100644
--- a/clang/tools/driver/cc1_main.cpp
+++ b/clang/tools/driver/cc1_main.cpp
@@ -15,7 +15,7 @@
#include "clang/Driver/Arg.h"
#include "clang/Driver/ArgList.h"
-#include "clang/Driver/CC1Options.h"
+#include "clang/Driver/Options.h"
#include "clang/Driver/DriverDiagnostic.h"
#include "clang/Driver/OptTable.h"
#include "clang/Frontend/CompilerInstance.h"
@@ -58,7 +58,7 @@ static int cc1_test(DiagnosticsEngine &Diags,
llvm::errs() << "\n";
// Parse the arguments.
- OptTable *Opts = createCC1OptTable();
+ OptTable *Opts = createDriverOptTable();
unsigned MissingArgIndex, MissingArgCount;
InputArgList *Args = Opts->ParseArgs(ArgBegin, ArgEnd,
MissingArgIndex, MissingArgCount);
OpenPOWER on IntegriCloud