diff options
author | Abhina Sree <Abhina.Sreeskantharajan@ibm.com> | 2025-07-02 13:45:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-02 13:45:52 -0400 |
commit | a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b (patch) | |
tree | 248b13e116b101acb3088ce9b996626f08a3bbbe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 5e6e51bbbec4ed53d21f45111c948fb82c50314d (diff) | |
download | llvm-a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b.zip llvm-a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b.tar.gz llvm-a4d517dc38088c8ca6eeb8ea880c24dfa3e5ce7b.tar.bz2 |
[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()) : "";
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions