[PATCH] D93986: [clang-format] Add the possibility to align assignments spanning empty lines or comments

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 17 03:00:01 PST 2021


MyDeveloperDay accepted this revision.
MyDeveloperDay added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:103
   ///
-  /// This will align C/C++ preprocessor macros of consecutive lines.
-  /// Will result in formattings like
+  /// ``Consecutive`` will result in formattings like
   /// \code
----------------
Nit: maybe a colon on the end what do you think?


================
Comment at: clang/include/clang/Format/Format.h:159
+  ///    Same as ACS_Consecutive, but also spans over lines only containing
+  ///    comments and empty lines, e.g.,
+  ///    \code
----------------
Nit: no need for a comma I think


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93986



More information about the cfe-commits mailing list