diff options
author | Hans Wennborg <hans@hanshq.net> | 2015-10-06 23:40:43 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2015-10-06 23:40:43 +0000 |
commit | 94faed61378d32c6f06fa60c1a133486f1460658 (patch) | |
tree | 1eb0a3aeb39b07b4f8568b8db053a5de9c461e38 /unittests/CodeGen/BufferSourceTest.cpp | |
parent | 1233ac35f7f21dde56c073307c15a5a972aec084 (diff) |
Fix Clang-tidy modernize-use-nullptr warnings in source directories; other minor cleanups
Patch by Eugene Zelenko!
Differential Revision: http://reviews.llvm.org/D13406
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249484 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/CodeGen/BufferSourceTest.cpp')
-rw-r--r-- | unittests/CodeGen/BufferSourceTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/CodeGen/BufferSourceTest.cpp b/unittests/CodeGen/BufferSourceTest.cpp index e80e83bd28..85df768aa1 100644 --- a/unittests/CodeGen/BufferSourceTest.cpp +++ b/unittests/CodeGen/BufferSourceTest.cpp @@ -67,7 +67,7 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) { compiler.getCodeGenOpts(), llvm::getGlobalContext()))); - compiler.createSema(clang::TU_Prefix,NULL); + compiler.createSema(clang::TU_Prefix, nullptr); clang::SourceManager &sm = compiler.getSourceManager(); sm.setMainFileID(sm.createFileID( @@ -76,4 +76,4 @@ TEST(BufferSourceTest, EmitCXXGlobalInitFunc) { clang::ParseAST(compiler.getSema(), false, false); } -} +} // end anonymous namespace |