diff options
Diffstat (limited to 'ELF/Strings.h')
-rw-r--r-- | ELF/Strings.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ELF/Strings.h b/ELF/Strings.h index fd1aa40539d2..68ccafa2ff17 100644 --- a/ELF/Strings.h +++ b/ELF/Strings.h @@ -21,11 +21,8 @@ namespace lld { namespace elf { -int getPriority(StringRef S); -bool hasWildcard(StringRef S); std::vector<uint8_t> parseHex(StringRef S); bool isValidCIdentifier(StringRef S); -StringRef unquote(StringRef S); // This is a lazy version of StringRef. String size is computed lazily // when it is needed. It is more efficient than StringRef to instantiate @@ -76,7 +73,7 @@ llvm::Optional<std::string> demangle(StringRef Name); inline ArrayRef<uint8_t> toArrayRef(StringRef S) { return {(const uint8_t *)S.data(), S.size()}; } -} -} +} // namespace elf +} // namespace lld #endif |