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

Unified Diff: tools/gn/label.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/item.cc ('k') | tools/gn/label_pattern_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/label.cc
diff --git a/tools/gn/label.cc b/tools/gn/label.cc
index f672a3a23c2f5265f7b50ee63f44b6a3bc04d8b9..65fcef82d759bb00a57a9d95ef4ebde53ea04e7a 100644
--- a/tools/gn/label.cc
+++ b/tools/gn/label.cc
@@ -177,9 +177,9 @@ bool Resolve(const SourceDir& current_dir,
*out_toolchain_name = current_toolchain.name();
return true;
} else {
- return Resolve(current_dir, current_toolchain,
- original_value, toolchain_piece,
- out_toolchain_dir, out_toolchain_name, NULL, NULL, err);
+ return Resolve(current_dir, current_toolchain, original_value,
+ toolchain_piece, out_toolchain_dir, out_toolchain_name,
+ nullptr, nullptr, err);
}
}
return true;
« no previous file with comments | « tools/gn/item.cc ('k') | tools/gn/label_pattern_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698