This revision was automatically updated to reflect the committed changes.
mprobst marked 2 inline comments as done.
Closed by commit rL310365: clang-format: [JS] handle single lines comments
ending in `\\`. (authored by mprobst).
Repository:
rL LLVM
https://reviews.llvm.org/D36159
Files:
cf
mprobst marked an inline comment as done.
mprobst added inline comments.
Comment at: lib/Format/FormatTokenLexer.cpp:544-545
+while (BackslashPos != StringRef::npos) {
+ if (BackslashPos + 1 < FormatTok->TokenText.size() &&
+ FormatTok->TokenText[BackslashPos +
klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.
lg
Comment at: lib/Format/FormatTokenLexer.cpp:544-545
+while (BackslashPos != StringRef::npos) {
+ if (BackslashPos + 1 < FormatTok->TokenText.size() &&
+
mprobst added a comment.
Friendly ping.
https://reviews.llvm.org/D36159
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mprobst created this revision.
Herald added a subscriber: klimek.
Previously, clang-format would consider the following code line to be part of
the comment and incorrectly format the rest of the file.
https://reviews.llvm.org/D36159
Files:
lib/Format/FormatTokenLexer.cpp
unittests/Format/Fo