[libcxx-commits] [PATCH] D115795: [libc++] Add GCC workaround in std::char_traits<char>::length()

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 15 12:09:10 PST 2021


Mordante accepted this revision as: Mordante.
Mordante added a comment.

LGTM after the build passes.



================
Comment at: libcxx/include/__string:347
+        size_t __i = 0;
+        for (; __s[i] != '\0'; ++__i)
+            ;
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115795



More information about the libcxx-commits mailing list