summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Parse/Parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Parse/Parser.h')
-rw-r--r--clang/include/clang/Parse/Parser.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/include/clang/Parse/Parser.h b/clang/include/clang/Parse/Parser.h
index 76edfc14146..e505e4d9caf 100644
--- a/clang/include/clang/Parse/Parser.h
+++ b/clang/include/clang/Parse/Parser.h
@@ -27,7 +27,7 @@ namespace clang {
class ObjCDeclSpec;
class PragmaHandler;
class Scope;
- class DiagnosticInfo;
+ class DiagnosticBuilder;
/// Parser - This implements a parser for the C family of languages. After
/// parsing units of the grammar, productions are invoked to handle whatever has
@@ -313,8 +313,8 @@ private:
//===--------------------------------------------------------------------===//
// Diagnostic Emission and Error recovery.
- DiagnosticInfo Diag(SourceLocation Loc, unsigned DiagID);
- DiagnosticInfo Diag(const Token &Tok, unsigned DiagID);
+ DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID);
+ DiagnosticBuilder Diag(const Token &Tok, unsigned DiagID);
/// SkipUntil - Read tokens until we get to the specified token, then consume
/// it (unless DontConsume is true). Because we cannot guarantee that the
OpenPOWER on IntegriCloud