[PATCH] D110833: [clang-format] Add ControlStatementsAndFunctionDefinitionsExceptControlMacros option to SpaceBeforeParens

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 1 04:00:36 PDT 2021


MyDeveloperDay added a comment.

The use of "Custom" would kind of match the BraceWrapping, as for `SpaceBeforeParensCustom` either that or `SpaceBeforeParensStyles` , `SpaceBeforeParensSettings`, `SpaceBeforeParensOptions` I guess I don't really mind, (I always find naming things hard!) maybe the others might chip in on their preference of names

  BreakBeforeBraces: Custom
  BraceWrapping:
      AfterClass: true
      AfterControlStatement: false
      AfterEnum: true
      BeforeElse: true
      BeforeCatch: true
      AfterFunction: true
      AfterNamespace: true
      IndentBraces: false
      AfterStruct: true
      AfterUnion: true


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110833



More information about the cfe-commits mailing list