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

Unified Diff: tools/gn/format_test_data/017.golden

Issue 607173002: gn format: fix comments at end of blocks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clang warning Created 6 years, 3 months 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
Index: tools/gn/format_test_data/017.golden
diff --git a/tools/gn/format_test_data/017.golden b/tools/gn/format_test_data/017.golden
new file mode 100644
index 0000000000000000000000000000000000000000..2a658c61b0cb49f81a1072cf128acc05f14b149e
--- /dev/null
+++ b/tools/gn/format_test_data/017.golden
@@ -0,0 +1,19 @@
+executable(
+ "win" # Suffix comment on arg.
+
+ # And a strangely positioned line comment for some reason
+) {
+ defines = [] # Defines comment, suffix at end position.
+
+ deps = [
+ # Deps comment, should be forced multiline.
+ ]
+
+ sources = [
+ "a.cc",
+
+ # End of single sources comment, should be forced multiline.
+ ]
+
+ # End of block comment.
+}
« no previous file with comments | « tools/gn/format_test_data/017.gn ('k') | tools/gn/parse_tree.h » ('j') | tools/gn/parse_tree.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698