[libc-commits] [llvm] [libc] [libc][NFC] Fix missing LIBC_INLINE + style (PR #73659)

Clement Courbet via libc-commits libc-commits at lists.llvm.org
Tue Nov 28 07:40:20 PST 2023


================
@@ -15,10 +15,10 @@ namespace LIBC_NAMESPACE {
 LLVM_LIBC_FUNCTION(void *, memmem,
                    (const void *haystack, size_t haystack_len,
                     const void *needle, size_t needle_len)) {
-  constexpr auto comp = [](unsigned char l, unsigned char r) -> int {
+  constexpr auto COMP = [](unsigned char l, unsigned char r) -> int {
----------------
legrosbuffle wrote:

Is this change wanted ?

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


More information about the libc-commits mailing list