[all-commits] [llvm/llvm-project] a4d517: [SystemZ][z/OS] Fix error about const char in Text...
Abhina Sree via All-commits
all-commits at lists.llvm.org
Wed Jul 2 10:46:13 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b
https://github.com/llvm/llvm-project/commit/a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b
Author: Abhina Sree <Abhina.Sreeskantharajan at ibm.com>
Date: 2025-07-02 (Wed, 02 Jul 2025)
Changed paths:
M llvm/lib/Support/TextEncoding.cpp
Log Message:
-----------
[SystemZ][z/OS] Fix error about const char in Text Encoding (#146727)
This patch fixes the following error:
```
llvm/lib/Support/TextEncoding.cpp:274:11: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'
274 | char *Input = InputLength ? const_cast<char *>(Source.data()) : "";
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list