[clang] [llvm] [NFCI][Sanitizer] Convert Matcher::Globs from StringMap to vector. (PR #140964)

Vitaly Buka via cfe-commits cfe-commits at lists.llvm.org
Fri May 23 13:19:03 PDT 2025


================
@@ -125,7 +125,7 @@ class SpecialCaseList {
     // Returns zero if no match is found.
     LLVM_ABI unsigned match(StringRef Query) const;
 
-    StringMap<std::pair<GlobPattern, unsigned>> Globs;
+    std::vector<std::pair<std::string, std::pair<GlobPattern, unsigned>>> Globs;
----------------
vitalybuka wrote:

Glob(Glob&&) = delete;  // no copy, no move, because name is StringRef-ed.

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


More information about the cfe-commits mailing list