Implement ObjC built-in types in MinimalAction.
This fixes the recent regression with selector-1.m and -parse-noop.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43575 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/Driver/PrintParserCallbacks.cpp b/Driver/PrintParserCallbacks.cpp
index d7deb43..9568b87 100644
--- a/Driver/PrintParserCallbacks.cpp
+++ b/Driver/PrintParserCallbacks.cpp
@@ -21,6 +21,9 @@
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 @@
};
}
-MinimalAction *clang::CreatePrintParserActionsAction() {
- return new ParserPrintActions();
+MinimalAction *clang::CreatePrintParserActionsAction(IdentifierTable &IT) {
+ return new ParserPrintActions(IT);
}