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

Side by Side Diff: tools/gn/format_test_data/059.gn

Issue 770053002: gn format: Special case for single arg function calls containing boolean ops (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-unnecessary-parens
Patch Set: if too 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 unified diff | Download patch
« no previous file with comments | « tools/gn/command_format_unittest.cc ('k') | tools/gn/format_test_data/059.golden » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 assert(type == "android_apk" || type == "java_library" ||
2 type == "android_resources" || things == stuff && stuff != 432)
3
4 assert(type == "android_apk" || type == "java_library" ||
5 type == "android_resources",
6 type == "android_apk" || type == "java_library" ||
7 type == "android_resources")
8
9
10 if (type == "android_apk" || type == "java_library" || type == "android_resource s" || things == stuff && stuff != 432) {}
OLDNEW
« no previous file with comments | « tools/gn/command_format_unittest.cc ('k') | tools/gn/format_test_data/059.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698