summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/ClangTidy.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-09 02:03:06 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-09 02:03:06 +0000
commitf61be9c971d20d1f30f5444e525990b78a71d65e (patch)
treeb4f659ba8282a1e3b34ca932f1e87e1a61f42479 /clang-tools-extra/clang-tidy/ClangTidy.cpp
parent3fe0c876c427d8da80fd1bd2f94f2605fc802268 (diff)
downloadbcm5719-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.cpp2
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());
OpenPOWER on IntegriCloud