summaryrefslogtreecommitdiffstats
path: root/clang/Driver/PrintParserCallbacks.cpp
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-10-31 20:55:39 +0000
committerSteve Naroff <snaroff@apple.com>2007-10-31 20:55:39 +0000
commitaaba027717a81d49c73739665d0305f04475e2ce (patch)
tree6716750915dd507894511f81def07417d9fa49e4 /clang/Driver/PrintParserCallbacks.cpp
parentb681c68a7e38a634d0f4887122af0468b9d88d0f (diff)
downloadbcm5719-llvm-aaba027717a81d49c73739665d0305f04475e2ce.tar.gz
bcm5719-llvm-aaba027717a81d49c73739665d0305f04475e2ce.zip
Implement ObjC built-in types in MinimalAction.
This fixes the recent regression with selector-1.m and -parse-noop. llvm-svn: 43575
Diffstat (limited to 'clang/Driver/PrintParserCallbacks.cpp')
-rw-r--r--clang/Driver/PrintParserCallbacks.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/clang/Driver/PrintParserCallbacks.cpp b/clang/Driver/PrintParserCallbacks.cpp
index d7deb43f87a..9568b872114 100644
--- a/clang/Driver/PrintParserCallbacks.cpp
+++ b/clang/Driver/PrintParserCallbacks.cpp
@@ -21,6 +21,9 @@ using namespace clang;
namespace {
class ParserPrintActions : public MinimalAction {
+ public:
+ ParserPrintActions(IdentifierTable &IT) : MinimalAction(IT) {}
+
/// ActOnDeclarator - This callback is invoked when a declarator is parsed
/// and 'Init' specifies the initializer if any. This is for things like:
/// "int X = 4" or "typedef int foo".
@@ -49,6 +52,6 @@ namespace {
};
}
-MinimalAction *clang::CreatePrintParserActionsAction() {
- return new ParserPrintActions();
+MinimalAction *clang::CreatePrintParserActionsAction(IdentifierTable &IT) {
+ return new ParserPrintActions(IT);
}
OpenPOWER on IntegriCloud