[PATCH] D146926: [clang-format] Add option to decorate reflowed block comments

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 27 01:38:36 PDT 2023


MyDeveloperDay added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:2022
+  /// \version 17
+  bool DecorateReflowedComments;
+
----------------
you are not setting the default value for this so it could be uninitialized, you need to set that in the LLVMStyle section

you need to ensure the == operator has been updated

you should be adding a CHECK_PARSE_BOOL() unit test at a minimum but also some verifyFormat checks in clang/unittest/Format


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146926



More information about the cfe-commits mailing list