[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:40:26 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:

Also we need a patch to Matcher::Globs -> vector

As I see we don't use Map property, but it will mess up the order.

https://github.com/llvm/llvm-project/pull/140529


More information about the cfe-commits mailing list