Author: Michael Buch Date: 2022-08-15T17:35:39+01:00 New Revision: ac1bedd584359567266b1c41ac26734556031b9f
URL: https://github.com/llvm/llvm-project/commit/ac1bedd584359567266b1c41ac26734556031b9f DIFF: https://github.com/llvm/llvm-project/commit/ac1bedd584359567266b1c41ac26734556031b9f.diff LOG: [lldb][debugserver] Revert "Use llvm::all_of (NFC)" for debugserver Commit [6d9cd9199a6fdeab0412117bcefc28f625510b61](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 Added: Modified: lldb/tools/debugserver/source/RNBRemote.cpp Removed: ################################################################################ diff --git a/lldb/tools/debugserver/source/RNBRemote.cpp b/lldb/tools/debugserver/source/RNBRemote.cpp index ee5d93cb94506..ebb2125524e9c 100644 --- a/lldb/tools/debugserver/source/RNBRemote.cpp +++ b/lldb/tools/debugserver/source/RNBRemote.cpp @@ -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__) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits