summaryrefslogtreecommitdiffstats
path: root/clang/Driver/DiagChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Driver/DiagChecker.cpp')
-rw-r--r--clang/Driver/DiagChecker.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/Driver/DiagChecker.cpp b/clang/Driver/DiagChecker.cpp
index 51f3979b92a..c4749512442 100644
--- a/clang/Driver/DiagChecker.cpp
+++ b/clang/Driver/DiagChecker.cpp
@@ -252,14 +252,6 @@ static bool CheckResults(Preprocessor &PP,
}
-/// CheckASTConsumer - Implement diagnostic checking for AST consumers.
-bool clang::CheckASTConsumer(Preprocessor &PP, ASTConsumer* C) {
-
- // Parse the AST and run the consumer, ultimately deleting C.
- ParseAST(PP, C);
- return CheckDiagnostics(PP);
-}
-
/// CheckDiagnostics - Gather the expected diagnostics and check them.
bool clang::CheckDiagnostics(Preprocessor &PP) {
// Gather the set of expected diagnostics.
OpenPOWER on IntegriCloud