================ @@ -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:
Could be easier with: ``` class Glob { name pattern LineNo } std::vector<std::unique_ptr<Glob>> Globs; ``` https://github.com/llvm/llvm-project/pull/140964 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits