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

Unified Diff: tools/gn/operators_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/ninja_copy_target_writer.cc ('k') | tools/gn/parse_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/operators_unittest.cc
diff --git a/tools/gn/operators_unittest.cc b/tools/gn/operators_unittest.cc
index d2af8b13f3827f20cdab85e6aebb28bd48d68e04..b5b3b0201471895b5e055bf4c455150c7bef5678 100644
--- a/tools/gn/operators_unittest.cc
+++ b/tools/gn/operators_unittest.cc
@@ -39,7 +39,7 @@ TEST(Operators, SourcesAppend) {
// Set up "sources" with an empty list.
const char sources[] = "sources";
- setup.scope()->SetValue(sources, Value(NULL, Value::LIST), NULL);
+ setup.scope()->SetValue(sources, Value(nullptr, Value::LIST), nullptr);
// Set up the operator.
BinaryOpNode node;
@@ -102,7 +102,7 @@ TEST(Operators, ListAppend) {
// Set up "foo" with an empty list.
const char foo[] = "foo";
- setup.scope()->SetValue(foo, Value(NULL, Value::LIST), NULL);
+ setup.scope()->SetValue(foo, Value(nullptr, Value::LIST), nullptr);
// Set up the operator.
BinaryOpNode node;
« no previous file with comments | « tools/gn/ninja_copy_target_writer.cc ('k') | tools/gn/parse_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698