]> granicus.if.org Git - llvm/commit
Revert [support] GlobPattern: add support for `\` and `[!...]`, and allow `]` in...
authorJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 22:59:02 +0000 (22:59 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 22:59:02 +0000 (22:59 +0000)
commit8cf643e1230837ba5115489ae8e4f87755b158f9
tree4d39588147aca961c15d301f28f2aaacd0fa0d6a
parent1b6d9ac9fa8e50387b28694d74d8ce149dd4c379
Revert [support] GlobPattern: add support for `\` and `[!...]`, and allow `]` in more places

This reverts r375051 (git commit a409afaad64ce83ea44cc30ee5f96b6e613a6e98)

The patch does not work on Windows due to `\` in filenames being interpreted as escaping rather than literal path separators when used by lld linker scripts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375052 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/GlobPattern.h
lib/Support/GlobPattern.cpp
unittests/Support/GlobPatternTest.cpp