summaryrefslogtreecommitdiff
path: root/tools/driver/driver.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-08-08 17:34:27 +0000
committerHans Wennborg <hans@hanshq.net>2013-08-08 17:34:27 +0000
commitf3db6835d15c9d0f6345d78c1569e730dfdbb93e (patch)
treeac2698b1e319379ebded5374be98109994a8c214 /tools/driver/driver.cpp
parentbccf68f0901f6457ff00874ef57644100a1c7a59 (diff)
downloadclang-f3db6835d15c9d0f6345d78c1569e730dfdbb93e.tar.gz
clang-f3db6835d15c9d0f6345d78c1569e730dfdbb93e.tar.bz2
clang-f3db6835d15c9d0f6345d78c1569e730dfdbb93e.tar.xz
Remove misleading comment about using cc1 option table.
There hasn't been a separate cc1 option table since r155916. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@187993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/driver/driver.cpp')
-rw-r--r--tools/driver/driver.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/driver/driver.cpp b/tools/driver/driver.cpp
index ac062fb0b5..00bf302b6b 100644
--- a/tools/driver/driver.cpp
+++ b/tools/driver/driver.cpp
@@ -329,11 +329,11 @@ int main(int argc_, const char **argv_) {
IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions;
{
- // Note that ParseDiagnosticArgs() uses the cc1 option table.
- OwningPtr<OptTable> CC1Opts(createDriverOptTable());
+ OwningPtr<OptTable> Opts(createDriverOptTable());
unsigned MissingArgIndex, MissingArgCount;
- OwningPtr<InputArgList> Args(CC1Opts->ParseArgs(argv.begin()+1, argv.end(),
- MissingArgIndex, MissingArgCount));
+ OwningPtr<InputArgList> Args(Opts->ParseArgs(argv.begin()+1, argv.end(),
+ MissingArgIndex,
+ MissingArgCount));
// We ignore MissingArgCount and the return value of ParseDiagnosticArgs.
// Any errors that would be diagnosed here will also be diagnosed later,
// when the DiagnosticsEngine actually exists.