[clang] [llvm] [clang] Clang multi-match behavior of WarningSuppressionMappings (PR #162237)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 7 10:15:18 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
----------------
vitalybuka wrote:
This file is relatively new.
We did such change for sanitizer, no complains so far.
https://github.com/llvm/llvm-project/pull/162237
More information about the llvm-commits
mailing list