diff options
| author | Chris Lattner <sabre@nondot.org> | 2008-11-22 00:59:29 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2008-11-22 00:59:29 +0000 |
| commit | 427c9c17630a691f69b1ecd77061ac6f6e1764af (patch) | |
| tree | 2c470a729f50ef3d0aad585704f3ba4cdc86483e /clang/lib/Sema/Sema.h | |
| parent | a3148f16e4cd5eb33583a80cb12c99c338be1e0c (diff) | |
| download | bcm5719-llvm-427c9c17630a691f69b1ecd77061ac6f6e1764af.tar.gz bcm5719-llvm-427c9c17630a691f69b1ecd77061ac6f6e1764af.zip | |
Split the DiagnosticInfo class into two disjoint classes:
one for building up the diagnostic that is in flight (DiagnosticBuilder)
and one for pulling structured information out of the diagnostic when
formatting and presenting it.
There is no functionality change with this patch.
llvm-svn: 59849
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index d569994d167..6d9e5820666 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -226,7 +226,7 @@ public: const LangOptions &getLangOptions() const; /// The primitive diagnostic helpers. - DiagnosticInfo Diag(SourceLocation Loc, unsigned DiagID); + DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID); virtual void DeleteExpr(ExprTy *E); virtual void DeleteStmt(StmtTy *S); |

