aboutsummaryrefslogtreecommitdiff
path: root/Driver/clang.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-10-31 08:56:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-10-31 08:56:51 +0000
commite10b0f236bc8487445bc99b8d14bd40666b1998d (patch)
tree3030724feb334878b30813e384df9f631f68f447 /Driver/clang.cpp
parent9881cf0f09aeada2894b203c854bd12b1babfd5d (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.cpp4
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;