Regex is a little cumbersome for the limited syntax GlobList supports and its implementation is a bit of a hack.
Added some convenience methods that will be useful in follow up patches
Details
Details
- Reviewers
alexfh aaron.ballman
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Added functionality for Checking equivalence to a StringRef without having to build the Glob.
These features are ground work for upcoming patches.
Comment Actions
Enable escaping the leading - at the start of a glob to match strings starting with a -.
Comment Actions
A litte overkill, there is llvm/include/llvm/Support/GlobPattern.h that could be used to simplify this code.