[PATCH] D145843: [clangd] Add option to always insert headers with <> instead of ""

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 28 23:29:21 PDT 2023


nridge added a comment.

In D145843#4221826 <https://reviews.llvm.org/D145843#4221826>, @nridge wrote:

> Thanks for the clarification and suggested formulation.
>
> In D145843#4209750 <https://reviews.llvm.org/D145843#4209750>, @sammccall wrote:
>
>> I'd suggest something like:
>>
>>   Style:
>>     QuotedHeaders: "path/to/.*"
>>     AngledHeaders: "path/sdk/.*"
>>
>> where the regexes can be single or array, and match any suffix (like Diagnostics.Includes.IgnoreHeader)
>
> @ADKaster are you interested in updating the patch to implement this approach?

It looks like someone has done this and submitted the updated patch as a PR, linking to it for reference: https://github.com/llvm/llvm-project/pull/67749


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D145843



More information about the cfe-commits mailing list