================
@@ -142,6 +143,13 @@ std::vector<Diag> generateMissingIncludeDiagnostics(
llvm::StringRef HeaderRef{Spelling};
bool Angled = HeaderRef.starts_with("<");
+ for (auto Filter : AngledHeaders) {
----------------
HighCommander4 wrote:
nit: iterate using `auto &`, the way we do
[here](https://searchfox.org/llvm/rev/b9a709832cd96ff3405dd0da9c436d560d8a4f1c/clang-tools-extra/clangd/IncludeCleaner.cpp#63)
https://github.com/llvm/llvm-project/pull/140594
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits