[libc-commits] [libc] [libc] fix readability-identifier-naming.ConstexprFunctionCase (PR #83345)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Wed Feb 28 15:51:05 PST 2024


================
@@ -56,8 +56,8 @@ inline_bcmp_byte_per_byte(CPtr p1, CPtr p2, size_t count, size_t offset = 0) {
   LIBC_LOOP_NOUNROLL
   for (; offset < count; ++offset)
     if (p1[offset] != p2[offset])
-      return BcmpReturnType::NONZERO();
-  return BcmpReturnType::ZERO();
+      return BcmpReturnType::zero();
----------------
nickdesaulniers wrote:

oops!
https://github.com/llvm/llvm-project/pull/83356

https://github.com/llvm/llvm-project/pull/83345


More information about the libc-commits mailing list