diff options
| author | David Blaikie <dblaikie@gmail.com> | 2011-09-25 23:23:43 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2011-09-25 23:23:43 +0000 |
| commit | 9c902b5502fe921137177912ce0f56289e3824b5 (patch) | |
| tree | 45eacdb31f6821030d5b367eabafdb015526a85f /clang/lib/Sema/DeclSpec.cpp | |
| parent | 74e2c35fbc62d643358518cf83e9651c347ea8f5 (diff) | |
| download | bcm5719-llvm-9c902b5502fe921137177912ce0f56289e3824b5.tar.gz bcm5719-llvm-9c902b5502fe921137177912ce0f56289e3824b5.zip | |
Rename Diagnostic to DiagnosticsEngine as per issue 5397
llvm-svn: 140478
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
| -rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index 7e2f4ad281f..e4d76c8fd56 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/lib/Sema/DeclSpec.cpp @@ -27,7 +27,7 @@ using namespace clang; -static DiagnosticBuilder Diag(Diagnostic &D, SourceLocation Loc, +static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, unsigned DiagID) { return D.Report(Loc, DiagID); } @@ -757,7 +757,7 @@ void DeclSpec::SaveStorageSpecifierAsWritten() { /// "_Imaginary" (lacking an FP type). This returns a diagnostic to issue or /// diag::NUM_DIAGNOSTICS if there is no error. After calling this method, /// DeclSpec is guaranteed self-consistent, even if an error occurred. -void DeclSpec::Finish(Diagnostic &D, Preprocessor &PP) { +void DeclSpec::Finish(DiagnosticsEngine &D, Preprocessor &PP) { // Before possibly changing their values, save specs as written. SaveWrittenBuiltinSpecs(); SaveStorageSpecifierAsWritten(); |

