HazardyKnusperkeks added a comment.

I think this would be a great feature. But I also think that it needs more 
documentation.

You also need to make sure, that we don't change that comment, that is 
`SpacesInLineCommentPrefix` and `ColumnLimit` should have no effect on the 
comment.



================
Comment at: clang/lib/Format/Format.cpp:3544
+    if (PrefixPos != StringRef::npos &&
+        ((PrefixPos == 0) || (Code.substr(PrefixPos - 1, 1).ltrim() == ""))) {
+
----------------
Drop the extra parens.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145435/new/

https://reviews.llvm.org/D145435

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to