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

Unified Diff: tools/gn/command_desc.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/builder_unittest.cc ('k') | tools/gn/command_format.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_desc.cc
diff --git a/tools/gn/command_desc.cc b/tools/gn/command_desc.cc
index 4cdc3f2be955411cd2a1d71b3511709e1a44fae5..6defd373cd2e9817e5d695df04f883d8261962bd 100644
--- a/tools/gn/command_desc.cc
+++ b/tools/gn/command_desc.cc
@@ -112,7 +112,7 @@ void PrintDeps(const Target* target, bool display_header) {
if (cmdline->HasSwitch("all")) {
// Show all tree deps with no eliding.
- RecursivePrintDeps(target, toolchain_label, NULL, 1);
+ RecursivePrintDeps(target, toolchain_label, nullptr, 1);
} else {
// Don't recurse into duplicates.
std::set<const Target*> seen_targets;
« no previous file with comments | « tools/gn/builder_unittest.cc ('k') | tools/gn/command_format.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698