Author: Muiez Ahmed
Date: 2022-09-01T13:19:27+02:00
New Revision: 80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6

URL: 
https://github.com/llvm/llvm-project/commit/80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6
DIFF: 
https://github.com/llvm/llvm-project/commit/80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6.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

(cherry picked from commit e1e9961f7692cfb84c4b3bb213d515d4c80332a4)

Added: 
    

Modified: 
    libcxx/include/regex

Removed: 
    


################################################################################
diff  --git a/libcxx/include/regex b/libcxx/include/regex
index 850fe099df1e0..26887e84bf281 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


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to