Issue 95360
Summary Clang-Format, suggest add AlignAfterOpenBracket: BAS_AlwaysBlockIndent
Labels clang-format
Assignees
Reporter lygstate
    This is the effect of  BlockIndent
```
BAS_BlockIndent (in configuration: BlockIndent) Always break after an open bracket, if the parameters don’t fit on a single line. Closing brackets will be placed on a new line. E.g.:

static void *__fastcall try_get_function_with_preload(WinPolyfillFunctionId function_id
) noexcept;
```

With the newly BAS_AlwaysBlockIndent 
```


BAS_AlwaysBlockIndent (in configuration: AlwaysBlockIndent) Always break after an open bracket, if the full decleration don’t fit on a single line. Parameter and closing brackets will be placed on a new line. E.g.:

static void *__fastcall try_get_function_with_preload(
    WinPolyfillFunctionId function_id
) noexcept;
```

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to