forked from OSchip/llvm-project
[lldb][debugserver] Revert "Use llvm::all_of (NFC)" for debugserver
Commit [6d9cd9199a
](https://reviews.llvm.org/rG6d9cd9199a6fdeab0412117bcefc28f625510b61) added a dependency on llvm to debugserver.
This breaks the build. Since we don't want to add a dependency on llvm, this
patch reverts the offending commit.
Differential Revision: https://reviews.llvm.org/D131901
This commit is contained in:
parent
26d3655a15
commit
ac1bedd584
|
@ -4861,8 +4861,8 @@ rnb_err_t RNBRemote::HandlePacket_qHostInfo(const char *p) {
|
|||
|
||||
std::string maccatalyst_version = DNBGetMacCatalystVersionString();
|
||||
if (!maccatalyst_version.empty() &&
|
||||
llvm::all_of(maccatalyst_version,
|
||||
[](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
|
||||
std::all_of(maccatalyst_version.begin(), maccatalyst_version.end(),
|
||||
[](char c) { return (c >= '0' && c <= '9') || c == '.'; }))
|
||||
strm << "maccatalyst_version:" << maccatalyst_version << ";";
|
||||
|
||||
#if defined(__LITTLE_ENDIAN__)
|
||||
|
|
Loading…
Reference in New Issue