[libcxx-commits] [libcxx] e1e9961 - [SystemZ][z/OS] Account for renamed parameter name (libc++)

Muiez Ahmed via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 30 11:19:51 PDT 2022


Author: Muiez Ahmed
Date: 2022-08-30T14:18:44-04:00
New Revision: e1e9961f7692cfb84c4b3bb213d515d4c80332a4

URL: https://github.com/llvm/llvm-project/commit/e1e9961f7692cfb84c4b3bb213d515d4c80332a4
DIFF: https://github.com/llvm/llvm-project/commit/e1e9961f7692cfb84c4b3bb213d515d4c80332a4.diff

LOG: [SystemZ][z/OS] Account for renamed parameter name (libc++)

The following patch (https://reviews.llvm.org/D129051) broke z/OS builds by renaming the parameter name. This patch accounts for that change.

Differential Revision: https://reviews.llvm.org/D132946

Added: 
    

Modified: 
    libcxx/include/regex

Removed: 
    


################################################################################
diff  --git a/libcxx/include/regex b/libcxx/include/regex
index a3bbc3c03686f..8361b41321e67 100644
--- a/libcxx/include/regex
+++ b/libcxx/include/regex
@@ -1355,7 +1355,7 @@ inline _LIBCPP_INLINE_VISIBILITY
 unsigned char __to_lower(unsigned char __c)
 {
 #if defined(__MVS__) && !defined(__NATIVE_ASCII_F)
-    return c & 0xBF;
+    return __c & 0xBF;
 #else
     return __c | 0x20;
 #endif


        


More information about the libcxx-commits mailing list