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

sstwcw via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 1 15:32:16 PDT 2023


sstwcw added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:1914
   ///    const char* x =
-  ///      "veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString";
+  ///        "veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString";
   /// \endcode
----------------
It looks like they made a mistake in this example.  The second line gets indented by a continuation indentation both before and after this patch.


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