[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:27:27 PDT 2022


Michael137 updated this revision to Diff 452704.
Michael137 added a comment.

- Fix parameters


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.452704.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220815/2d01d1eb/attachment.bin>


More information about the lldb-commits mailing list