[Lldb-commits] [PATCH] D131901: [lldb][debugserver] Revert "Use llvm::all_of (NFC)" for debugserver

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 15 09:36:41 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rGac1bedd58435: [lldb][debugserver] Revert "Use llvm::all_of (NFC)" for debugserver (authored by Michael137).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131901/new/

https://reviews.llvm.org/D131901

Files:
  lldb/tools/debugserver/source/RNBRemote.cpp


Index: lldb/tools/debugserver/source/RNBRemote.cpp
===================================================================
--- lldb/tools/debugserver/source/RNBRemote.cpp
+++ lldb/tools/debugserver/source/RNBRemote.cpp
@@ -4861,8 +4861,8 @@
 
   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__)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131901.452713.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220815/29127b5a/attachment.bin>


More information about the lldb-commits mailing list