Displaying 1 result from an estimated 1 matches for "swiftlanguageruntime".
2018 Feb 23
1
StringRef hasAnyOf/hasAllOf
...des the
following two functions:
static bool StringHasAllOf(const llvm::StringRef &s, const char *which);
static bool StringHasAnyOf(const llvm::StringRef &s,
std::initializer_list<const char *> which, size_t &where);
https://github.com/apple/swift-lldb/blob/stable/source/Target/SwiftLanguageRuntime.cpp#L691
https://github.com/apple/swift-lldb/blob/stable/source/Target/SwiftLanguageRuntime.cpp#L699
I'm under the impression these could be member functions of StringRef
(maybe with a different signature).
My only concern is that while I think these may be useful for the
general public, I ha...