[PATCH] D116314: [clang-format] Add style to separate definition blocks

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 30 12:01:39 PST 2021


HazardyKnusperkeks added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:3104-3105
+  ///
+  ///                                    class C {}
+  ///                                    };
+  /// \endcode
----------------



================
Comment at: clang/lib/Format/DefinitionBlockSeparator.cpp:55
+      auto insertReplacement = [&]() {
+        // Do not handle EOF newlines
+        assert(TargetToken);
----------------
HazardyKnusperkeks wrote:
> Here also full stop, please. And following comments.
Not done. :)


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

https://reviews.llvm.org/D116314



More information about the cfe-commits mailing list