This revision was automatically updated to reflect the committed changes.
Closed by commit rL310458: [clang-format] Put '/**' and '*/' on own lines in
jsdocs ending in comment… (authored by krasimir).
Repository:
rL LLVM
https://reviews.llvm.org/D36359
Files:
cfe/trunk/lib/Format/BreakableT
krasimir updated this revision to Diff 110157.
krasimir added a comment.
- Remove debugging
https://reviews.llvm.org/D36359
Files:
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
lib/Format/ContinuationIndenter.cpp
unittests/Format/FormatTestJS.cpp
Index: unittests/Format/For
krasimir updated this revision to Diff 110156.
krasimir added a comment.
- Simplify getSplitAfterLastLine
https://reviews.llvm.org/D36359
Files:
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
lib/Format/ContinuationIndenter.cpp
unittests/Format/FormatTestJS.cpp
Index: unitte
mprobst added inline comments.
Comment at: lib/Format/BreakableToken.cpp:688
+ if (DelimitersOnNewline) {
+StringRef TrimmedContent = Content.back().substr(TailOffset).rtrim(Blanks);
+if (!TrimmedContent.empty()) {
Can you add a comment on what this is d
krasimir created this revision.
Herald added a subscriber: klimek.
This handles a case where the trailing '*/' of a multiline jsdoc eding in a
comment pragma wouldn't be put on a new line.
https://reviews.llvm.org/D36359
Files:
lib/Format/BreakableToken.cpp
lib/Format/BreakableToken.h
li