diff options
Diffstat (limited to 'lld/ELF/Strings.h')
-rw-r--r-- | lld/ELF/Strings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/ELF/Strings.h b/lld/ELF/Strings.h index 4948e9dbd56..ad99eb9bae9 100644 --- a/lld/ELF/Strings.h +++ b/lld/ELF/Strings.h @@ -11,11 +11,13 @@ #define LLD_COFF_STRINGS_H #include "lld/Core/LLVM.h" +#include "llvm/Support/Regex.h" #include <vector> namespace lld { namespace elf { -bool globMatch(StringRef S, StringRef T); +llvm::Regex compileGlobPatterns(ArrayRef<StringRef> V); +bool hasWildcard(StringRef S); std::vector<uint8_t> parseHex(StringRef S); bool isValidCIdentifier(StringRef S); |