[PATCH] D93844: [clang-format] Add possibility to be based on parent directory

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 29 12:52:16 PST 2020


HazardyKnusperkeks added a comment.

In D93844#2473725 <https://reviews.llvm.org/D93844#2473725>, @MyDeveloperDay wrote:

> I like what you are suggesting, do you think `BasedOnStyle: File` is the best terminology as the term `File` is used elsewhere to mean read from the .clang_format file, how about
>
> `BasedOnStyle: Inherit`
> `BasedOnStyle: InheritFromParent`
> `BasedOnStyle: InheritFromFile`
>
> or why not just
>
> `BasedOnStyle: InheritParentConfig`
>
> to match clang-tidy?

I will update it to `InheritParentConfig`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93844



More information about the cfe-commits mailing list