[clang] [clang-format] Add new option: WrapNamespaceBodyWithNewlines (PR #106145)

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 1 02:32:31 PDT 2024


dmasloff wrote:

> Please run `git clang-format HEAD~` and `ninja clang-format-check-format` before pushing.

Maybe it's only my problem, but i get this message running `git clang-format HEAD~`, hopefully I could fix it all manually using `ninja clang-format-check-format`:
```
/Users/daniilmaslov/llvm-project-copy/clang/include/clang/Format/.clang-format:1:1: error: Unknown value for BasedOnStyle: clang-format
BasedOnStyle: clang-format
^
Error reading /Users/daniilmaslov/llvm-project-copy/clang/include/clang/Format/.clang-format: Invalid argument
error: `clang-format -lines=5060:5096 -lines=5274:5275 clang/include/clang/Format/Format.h` failed
```

https://github.com/llvm/llvm-project/pull/106145


More information about the cfe-commits mailing list