diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-06-09 02:03:06 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-06-09 02:03:06 +0000 |
| commit | f61be9c971d20d1f30f5444e525990b78a71d65e (patch) | |
| tree | b4f659ba8282a1e3b34ca932f1e87e1a61f42479 /clang-tools-extra/clang-tidy/ClangTidy.cpp | |
| parent | 3fe0c876c427d8da80fd1bd2f94f2605fc802268 (diff) | |
| download | bcm5719-llvm-f61be9c971d20d1f30f5444e525990b78a71d65e.tar.gz bcm5719-llvm-f61be9c971d20d1f30f5444e525990b78a71d65e.zip | |
[C++11] Use 'nullptr'.
llvm-svn: 210447
Diffstat (limited to 'clang-tools-extra/clang-tidy/ClangTidy.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/ClangTidy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/clang-tidy/ClangTidy.cpp b/clang-tools-extra/clang-tidy/ClangTidy.cpp index 5a3af2c2af8..7b903dfecce 100644 --- a/clang-tools-extra/clang-tidy/ClangTidy.cpp +++ b/clang-tools-extra/clang-tidy/ClangTidy.cpp @@ -115,7 +115,7 @@ public: DiagnosticBuilder Diag = Diags.Report(Loc, Diags.getCustomDiagID(Level, "%0")) << Message.Message; - if (Fixes != NULL) { + if (Fixes != nullptr) { for (const tooling::Replacement &Fix : *Fixes) { SourceLocation FixLoc = getLocation(Fix.getFilePath(), Fix.getOffset()); |

