aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuiez Ahmed <muiez@ibm.com>2022-08-30 14:18:44 -0400
committerTobias Hieta <tobias@hieta.se>2022-09-01 13:19:27 +0200
commit80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6 (patch)
treeb91a6931cdd4f143218c1ee0d7fbf51df8876545
parent[Docs][OpenCL][SPIR-V] Release 15 notes for Clang. (diff)
downloadllvm-project-80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6.tar.gz
llvm-project-80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6.tar.bz2
llvm-project-80b4a25d7a215d42552b7ad0e2e05fbcc17e07b6.zip
[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)
-rw-r--r--libcxx/include/regex2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/include/regex b/libcxx/include/regex
index 850fe099df1e..26887e84bf28 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