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

Unified Diff: tools/gn/test_with_scope.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/template.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/test_with_scope.cc
diff --git a/tools/gn/test_with_scope.cc b/tools/gn/test_with_scope.cc
index 06f4d0476b15868d0417692aa66e0346992bbeea..62849afbf1542bef2e4e55086e7eb7c289a98955 100644
--- a/tools/gn/test_with_scope.cc
+++ b/tools/gn/test_with_scope.cc
@@ -13,7 +13,7 @@ namespace {
void SetCommandForTool(const std::string& cmd, Tool* tool) {
Err err;
SubstitutionPattern command;
- command.Parse(cmd, NULL, &err);
+ command.Parse(cmd, nullptr, &err);
CHECK(!err.has_error())
<< "Couldn't parse \"" << cmd << "\", " << "got " << err.message();
tool->set_command(command);
« no previous file with comments | « tools/gn/template.cc ('k') | tools/gn/trace.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698