================
@@ -63,6 +63,11 @@ Error SpecialCaseList::Matcher::insert(StringRef Pattern, 
unsigned LineNumber,
                        .moveInto(Pair.first))
       return Err;
     Pair.second = LineNumber;
+  } else {
----------------
vitalybuka wrote:

And "Pair.second = LineNumber;" is not a solution:
More generic case it will solve 
https://github.com/llvm/llvm-project/pull/140855 (please review and merge)


https://github.com/llvm/llvm-project/pull/140529
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to