[PATCH] D153208: [clang-format] Add InsertNewlineAtEOF to .clang-format files

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 19 12:59:14 PDT 2023


HazardyKnusperkeks added a comment.

In D153208#4431697 <https://reviews.llvm.org/D153208#4431697>, @owenpan wrote:

> In D153208#4431239 <https://reviews.llvm.org/D153208#4431239>, @HazardyKnusperkeks wrote:
>
>> We also could add a clang-format style, the you wouldn't have to to touch all .clang-format files. ;)
>
> Something like `BasedOnStyle: clang-format`? I like it but feel that it should be an undocumented feature. What do you all think?

I don't know if I want this or if it just a joke. But if we do it, I would document it, something like. "Basically LLVM Style, which uses some of the newer options, to enforce some of the LLVM style guide rules."


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

https://reviews.llvm.org/D153208



More information about the cfe-commits mailing list