[clang] [clang-tools-extra] [llvm] [clang] Introduce diagnostics suppression mappings (PR #112517)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 06:31:14 PST 2024


================
@@ -122,7 +122,6 @@ class SpecialCaseList {
     // Returns zero if no match is found.
     unsigned match(StringRef Query) const;
 
-  private:
     StringMap<std::pair<GlobPattern, unsigned>> Globs;
----------------
AaronBallman wrote:

Oh, I missed the inner class context, that makes sense, thanks! It unfortunate that we're losing encapsulation with the change, but I can hold my nose.

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


More information about the cfe-commits mailing list