diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-11-05 18:44:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-11-05 18:44:26 +0000 |
| commit | c62b6c232f2b275276b1f77e44d57d5b463da653 (patch) | |
| tree | 5bc0f4fb1a161f6e75f7d7c415516f1f6e16d6a9 /clang/Driver | |
| parent | 0663d2afd993d7f4bb478acd483dc35a2f99e06d (diff) | |
| download | bcm5719-llvm-c62b6c232f2b275276b1f77e44d57d5b463da653.tar.gz bcm5719-llvm-c62b6c232f2b275276b1f77e44d57d5b463da653.zip | |
eliminate EmptyAction, merging it into MinimalAction instead.
llvm-svn: 39134
Diffstat (limited to 'clang/Driver')
| -rw-r--r-- | clang/Driver/PrintParserCallbacks.cpp | 6 | ||||
| -rw-r--r-- | clang/Driver/clang.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/clang/Driver/PrintParserCallbacks.cpp b/clang/Driver/PrintParserCallbacks.cpp index bf772b09b7d..ddf2bb88516 100644 --- a/clang/Driver/PrintParserCallbacks.cpp +++ b/clang/Driver/PrintParserCallbacks.cpp @@ -22,7 +22,7 @@ using namespace llvm; using namespace clang; namespace { - class ParserPrintActions : public EmptyAction { + class ParserPrintActions : public MinimalAction { /// ParseDeclarator - This callback is invoked when a declarator is parsed /// and 'Init' specifies the initializer if any. This is for things like: @@ -38,7 +38,7 @@ namespace { std::cout << "\n"; // Pass up to EmptyActions so that the symbol table is maintained right. - return EmptyAction::ParseDeclarator(S, D, Init, LastInGroup); + return MinimalAction::ParseDeclarator(S, D, Init, LastInGroup); } /// PopScope - This callback is called immediately before the specified scope @@ -47,7 +47,7 @@ namespace { std::cout << "PopScope\n"; // Pass up to EmptyActions so that the symbol table is maintained right. - EmptyAction::PopScope(Loc, S); + MinimalAction::PopScope(Loc, S); } }; } diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index daa8eb542a7..d806b055c2c 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -942,7 +942,7 @@ int main(int argc, char **argv) { break; case ParseNoop: // -parse-noop - ParseFile(PP, new EmptyAction(), MainFileID); + ParseFile(PP, new MinimalAction(), MainFileID); break; case ParseSyntaxOnly: // -fsyntax-only |

