diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-06-08 08:38:12 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-06-08 08:38:12 +0000 |
commit | 416fa34b873f40393a2e52827e9ab2a12133a921 (patch) | |
tree | 144c566ff6d62526cce37a9feec3f45171514bbc /clang/unittests/Tooling/CommentHandlerTest.cpp | |
parent | 69186e731ffd95c3d3c2b70d36e306d109c92630 (diff) | |
download | bcm5719-llvm-416fa34b873f40393a2e52827e9ab2a12133a921.tar.gz bcm5719-llvm-416fa34b873f40393a2e52827e9ab2a12133a921.zip |
[C++11] Use 'nullptr'. Unittests edition.
llvm-svn: 210423
Diffstat (limited to 'clang/unittests/Tooling/CommentHandlerTest.cpp')
-rw-r--r-- | clang/unittests/Tooling/CommentHandlerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Tooling/CommentHandlerTest.cpp b/clang/unittests/Tooling/CommentHandlerTest.cpp index f0f7797d579..117dfc36feb 100644 --- a/clang/unittests/Tooling/CommentHandlerTest.cpp +++ b/clang/unittests/Tooling/CommentHandlerTest.cpp @@ -28,7 +28,7 @@ class CommentHandlerVisitor : public TestVisitor<CommentHandlerVisitor>, typedef TestVisitor<CommentHandlerVisitor> base; public: - CommentHandlerVisitor() : base(), PP(0), Verified(false) { } + CommentHandlerVisitor() : base(), PP(nullptr), Verified(false) {} ~CommentHandlerVisitor() { EXPECT_TRUE(Verified) << "CommentVerifier not accessed"; |