[clang] [llvm] Make sanitizer special case list slash-agnostic (PR #149886)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 8 17:12:11 PST 2025


vitalybuka wrote:

I just realized we missed a trivial solution:

**I think it's reasonable to expect that a single pattern does not mix \ / as a path separator in the same pattern.**

So, on windows we match the path as is, and then also match the converted version.

Maybe: As a bonus we can add a warning suggesting to convert a suppression file into forward slashes. So in distant future we can keep only / versions.


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


More information about the llvm-commits mailing list