[PATCH] D49797: [clang-format] Indent after breaking Javadoc annotated line

Martin Probst via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 27 02:11:07 PDT 2018


mprobst added inline comments.


================
Comment at: unittests/Format/FormatTestComments.cpp:3109
+TEST_F(FormatTestComments, IndentsLongJavadocAnnotatedLines) {
+  FormatStyle Style = getGoogleStyle(FormatStyle::LK_Java);
+  Style.ColumnLimit = 60;
----------------
mprobst wrote:
> add a test using `@return` or `@type`?
as discussed, make sure to test for LK_JavaScript, because that affects this with comment pragmas (that we should probably disable).


Repository:
  rC Clang

https://reviews.llvm.org/D49797





More information about the cfe-commits mailing list