[PATCH] D154093: [clang-format] Break long strings in Verilog

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 04:51:58 PDT 2023


HazardyKnusperkeks added a comment.

I'd really prefer you put what you need to modify `mutable` instead of removing the `const` from everything else. But that's just my opinion.



================
Comment at: clang/include/clang/Format/Format.h:1905
+  ///
+  /// In C:
   /// \code
----------------
It definitely works in C++, and I'd suspect C# and Java too.


================
Comment at: clang/lib/Format/BreakableToken.h:310
+  // The braces along with the quotes they replace.  Depending on the style.
+  const StringRef LeftBraceQuote, RightBraceQuote;
+  // Width added to the left.
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154093



More information about the cfe-commits mailing list