[clang] [llvm] [UBSan] Implement src:*=sanitize for UBSan (PR #140529)
Vitaly Buka via cfe-commits
cfe-commits at lists.llvm.org
Tue May 20 23:48:34 PDT 2025
================
@@ -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
More information about the cfe-commits
mailing list