[PATCH] D146101: [clang-format] Add BracedInitializerIndentWidth option.

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 31 17:30:35 PDT 2023


owenpan added inline comments.


================
Comment at: clang/include/clang/Format/Format.h:949
+  /// If unset, ``ContinuationIndentWidth`` is used.
+  /// \code
+  ///   AlignAfterOpenBracket: AlwaysBreak
----------------
HazardyKnusperkeks wrote:
> jp4a50 wrote:
> > MyDeveloperDay wrote:
> > > did you check generating the html from the rst? I can never remember if we need a newline before the \code
> > Nope - how do I do that exactly? I would guess a newline is not needed based on other examples.
> > did you check generating the html from the rst? I can never remember if we need a newline before the \code
> 
> 
> Nope - how do I do that exactly? I would guess a newline is not needed based on other examples.

See D147327#4236718.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146101



More information about the cfe-commits mailing list