[PATCH] D28246: clang-format: [JS] avoid indent after ambient function declarations.

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 05:36:12 PST 2017


sammccall accepted this revision.
sammccall added a reviewer: sammccall.
sammccall added inline comments.
This revision is now accepted and ready to land.


================
Comment at: unittests/Format/FormatTestJS.cpp:382
+               "let x = 1;\n");
+  verifyFormat("declare function foo(): string;\n"
+               "let x = 1;\n");
----------------
Maybe include an inline object return type for completeness?


https://reviews.llvm.org/D28246





More information about the cfe-commits mailing list