Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Unified Diff: tools/gn/ninja_action_target_writer_unittest.cc

Issue 798333005: tools/gn: Pass clang-modernize -use-nullptr over it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address Brett's review - revert some clang-format changes Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/location.cc ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/ninja_action_target_writer_unittest.cc
diff --git a/tools/gn/ninja_action_target_writer_unittest.cc b/tools/gn/ninja_action_target_writer_unittest.cc
index 8c295c938d92063440b1bae058b9666426819d8f..74f155baea35b58ee7ee835f9bd6eb2ba270115c 100644
--- a/tools/gn/ninja_action_target_writer_unittest.cc
+++ b/tools/gn/ninja_action_target_writer_unittest.cc
@@ -294,7 +294,7 @@ TEST(NinjaActionTargetWriter, ForEachWithDepfile) {
SubstitutionPattern depfile;
ASSERT_TRUE(
- depfile.Parse("//out/Debug/gen/{{source_name_part}}.d", NULL, &err));
+ depfile.Parse("//out/Debug/gen/{{source_name_part}}.d", nullptr, &err));
target.action_values().set_depfile(depfile);
target.action_values().args() = SubstitutionList::MakeForTest(
« no previous file with comments | « tools/gn/location.cc ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698