diff options
author | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 08:56:51 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2008-10-31 08:56:51 +0000 |
commit | e10b0f236bc8487445bc99b8d14bd40666b1998d (patch) | |
tree | 3030724feb334878b30813e384df9f631f68f447 /Driver/clang.cpp | |
parent | 9881cf0f09aeada2894b203c854bd12b1babfd5d (diff) |
"One" line fix for -parse-noop failure, "id" and several other things
were being treated as type names for non-Objective-C files.
- Other lines are just because MinimalAction didn't have access to
the LangOptions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@58498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver/clang.cpp')
-rw-r--r-- | Driver/clang.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index 84eb341b61..cf19c66d77 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -1304,12 +1304,12 @@ static void ProcessInputFile(Preprocessor &PP, PreprocessorFactory &PPF, break; case ParseNoop: // -parse-noop - ParseFile(PP, new MinimalAction(PP.getIdentifierTable())); + ParseFile(PP, new MinimalAction(PP)); ClearSourceMgr = true; break; case ParsePrintCallbacks: - ParseFile(PP, CreatePrintParserActionsAction(PP.getIdentifierTable())); + ParseFile(PP, CreatePrintParserActionsAction(PP)); ClearSourceMgr = true; break; |