[clang] [llvm] Make sanitizer special case list slash-agnostic (PR #149886)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 14:23:51 PDT 2025
vitalybuka wrote:
> For globs, there's a very simple rule that's spelled out in GlobPattern.h:
>
> > `\` escapes the next character so it is treated as a literal.
>
> If we canonicalize everything to forward slashes, then we'd be violating that rule, since `foo\\bar` would match `foo/bar`, even though the escaped `\` should have been treated as a literal.
how to match "foo\[bar]" ?
https://github.com/llvm/llvm-project/pull/149886
More information about the llvm-commits
mailing list