[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-16 Thread Abhina Sree via llvm-branch-commits
@@ -0,0 +1,36 @@ +//===--- clang/Lex/LiteralConverter.h - Translator for Literals -*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-14 Thread Abhina Sree via llvm-branch-commits
@@ -0,0 +1,36 @@ +//===--- clang/Lex/LiteralConverter.h - Translator for Literals -*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-13 Thread Abhina Sree via llvm-branch-commits
@@ -0,0 +1,36 @@ +//===--- clang/Lex/LiteralConverter.h - Translator for Literals -*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apa

[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-13 Thread Abhina Sree via llvm-branch-commits
@@ -633,6 +633,9 @@ class LangOptions : public LangOptionsBase { bool AtomicFineGrainedMemory = false; bool AtomicIgnoreDenormalMode = false; + /// Name of the exec charset to convert the internal charset to. + std::string ExecCharset; abhina-sree wrote:

[llvm-branch-commits] [clang] [llvm] Enable fexec-charset option (PR #138895)

2025-05-07 Thread Abhina Sree via llvm-branch-commits
https://github.com/abhina-sree created https://github.com/llvm/llvm-project/pull/138895 This patch enables the fexec-charset option to control the execution charset of string literals. It sets the default internal charset, system charset, and execution charset for z/OS and UTF-8 for all other