[clang] [llvm] [clang] Clang multi-match behavior of WarningSuppressionMappings (PR #162237)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 7 10:05:15 PDT 2025


================
@@ -971,7 +971,7 @@ class DiagnosticsEngine : public RefCountedBase<DiagnosticsEngine> {
   /// diagnostics in specific files.
   /// Mapping file is expected to be a special case list with sections denoting
   /// diagnostic groups and `src` entries for globs to suppress. `emit` category
-  /// can be used to disable suppression. Longest glob that matches a filepath
+  /// can be used to disable suppression. THe last glob that matches a filepath
----------------
fmayer wrote:

nit: The

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


More information about the llvm-commits mailing list