Issue 184880
Summary clang-format: InheritParentConfig doesn't apply parent's BreakAfterOpenBracket / BreakBeforeCloseBracket
Labels clang-format
Assignees
Reporter bryceberger
    ```
$ cat >.clang-format <<EOF
> BreakAfterOpenBracketIf: true
> EOF
$ mkdir subdir
$ cat >subdir/.clang-format <<EOF
> BasedOnStyle: InheritParentConfig
> BreakBeforeCloseBracketIf: true
> EOF
$ (cd subdir/ && clang-format --dump-config | grep BracketIf)
BreakAfterOpenBracketIf: false
BreakBeforeCloseBracketIf: true
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to