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/AST/CommentParser.cpp | |
parent | 69186e731ffd95c3d3c2b70d36e306d109c92630 (diff) | |
download | llvm-416fa34b873f40393a2e52827e9ab2a12133a921.zip llvm-416fa34b873f40393a2e52827e9ab2a12133a921.tar.gz llvm-416fa34b873f40393a2e52827e9ab2a12133a921.tar.bz2 |
[C++11] Use 'nullptr'. Unittests edition.
llvm-svn: 210423
Diffstat (limited to 'clang/unittests/AST/CommentParser.cpp')
-rw-r--r-- | clang/unittests/AST/CommentParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/AST/CommentParser.cpp b/clang/unittests/AST/CommentParser.cpp index 0064078..ae1410f 100644 --- a/clang/unittests/AST/CommentParser.cpp +++ b/clang/unittests/AST/CommentParser.cpp @@ -60,7 +60,7 @@ FullComment *CommentParserTest::parseString(const char *Source) { Lexer L(Allocator, Diags, Traits, Begin, Source, Source + strlen(Source)); - Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ NULL); + Sema S(Allocator, SourceMgr, Diags, Traits, /*PP=*/ nullptr); Parser P(L, S, Allocator, SourceMgr, Diags, Traits); FullComment *FC = P.parseFullComment(); @@ -74,7 +74,7 @@ FullComment *CommentParserTest::parseString(const char *Source) { if (Tok.is(tok::eof)) return FC; else - return NULL; + return nullptr; } ::testing::AssertionResult HasChildCount(const Comment *C, size_t Count) { |