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

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

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.gn
diff --git a/tools/gn/format_test_data/017.gn b/tools/gn/format_test_data/017.gn
new file mode 100644
index 0000000000000000000000000000000000000000..225ae2fe30c472e3c0dfc65fc3143ceeb4dd1cca
--- /dev/null
+++ b/tools/gn/format_test_data/017.gn
@@ -0,0 +1,15 @@
+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.
+}

Powered by Google App Engine
This is Rietveld 408576698