[clang-tools-extra] Use resolved path when filtering in IncludeInserter (PR #148371)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 12 06:38:27 PDT 2025
================
@@ -306,14 +306,14 @@ IncludeInserter::calculateIncludePath(const HeaderFile &InsertedHeader,
return std::nullopt;
bool IsAngled = false;
for (auto &Filter : AngledHeaders) {
- if (Filter(Suggested)) {
+ if (Filter(InsertedHeader.File)) {
----------------
Harald-R wrote:
@HighCommander4 could you please take a preliminary look when you have some time? I would be curious to know whether other instances should be modified or whether new tests would be beneficial to be added. Thank you!
https://github.com/llvm/llvm-project/pull/148371
More information about the cfe-commits
mailing list