[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
Mon Jan 18 10:13:50 PST 2021


HazardyKnusperkeks added a comment.

In D93844#2504388 <https://reviews.llvm.org/D93844#2504388>, @HazardyKnusperkeks wrote:

> In D93844#2504376 <https://reviews.llvm.org/D93844#2504376>, @MyDeveloperDay wrote:
>
>> What I can't easily tell from the tests is if you are overriding any styles defined in the parent with a local style.
>
> Yes I do, but I will try to make it clearer in the tests.

Okay after rechecking the code (it is a bit ago that I wrote it), what more do you need? I compare the parsed style against a base style (`Google`, to show that it’s not the default `LLVM`) modified with the values from the overwrite. Only for the last checks where I basically check the same over and over again, just trough different means I use a stored style.


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