diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-05-22 04:46:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-05-22 04:46:25 +0000 |
commit | 49a2790fb329c5cf27d9735b97ef70a6760921e4 (patch) | |
tree | a27dc484a06e2a4559f88a7939e40fd4ad01b80f /clang/lib/Frontend/DiagnosticRenderer.cpp | |
parent | c3a73c30877fdc754e499a529fc97325dc28332a (diff) | |
download | bcm5719-llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.tar.gz bcm5719-llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.zip |
[C++11] Use 'nullptr'. Frontend edition.
llvm-svn: 209389
Diffstat (limited to 'clang/lib/Frontend/DiagnosticRenderer.cpp')
-rw-r--r-- | clang/lib/Frontend/DiagnosticRenderer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/DiagnosticRenderer.cpp b/clang/lib/Frontend/DiagnosticRenderer.cpp index 85e87a21ed1..ce9fc0548c1 100644 --- a/clang/lib/Frontend/DiagnosticRenderer.cpp +++ b/clang/lib/Frontend/DiagnosticRenderer.cpp @@ -186,7 +186,7 @@ void DiagnosticRenderer::emitStoredDiagnostic(StoredDiagnostic &Diag) { emitDiagnostic(Diag.getLocation(), Diag.getLevel(), Diag.getMessage(), Diag.getRanges(), Diag.getFixIts(), Diag.getLocation().isValid() ? &Diag.getLocation().getManager() - : 0, + : nullptr, &Diag); } @@ -509,5 +509,5 @@ DiagnosticNoteRenderer::emitBuildingModuleLocation(SourceLocation Loc, void DiagnosticNoteRenderer::emitBasicNote(StringRef Message) { - emitNote(SourceLocation(), Message, 0); + emitNote(SourceLocation(), Message, nullptr); } |