[clang-tools-extra] [clangd] Allow specifying what headers are always included via "" or <> (PR #67749)
kleines Filmröllchen via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 25 06:24:36 PST 2024
================
@@ -211,10 +214,12 @@ class IncludeInserter {
// include path of non-verbatim header will not be shortened.
IncludeInserter(StringRef FileName, StringRef Code,
const format::FormatStyle &Style, StringRef BuildDir,
- HeaderSearch *HeaderSearchInfo)
+ HeaderSearch *HeaderSearchInfo, HeaderFilter QuotedHeaders,
----------------
kleinesfilmroellchen wrote:
I'm not sure how much difference that makes. The ArrayRef usage is based on other code I've seen around, and while the config lives for a while, the IncludeInserter is only briefly used to add an include.
https://github.com/llvm/llvm-project/pull/67749
More information about the cfe-commits
mailing list