================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to