diff options
author | Abhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com> | 2025-06-11 11:22:40 -0400 |
---|---|---|
committer | Abhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com> | 2025-06-11 11:29:04 -0400 |
commit | 9ff4728dacdbec859cd7c733b54f46c82e5afab2 (patch) | |
tree | 44aaee96caba918cb8485c9cce324d2766ca6546 /llvm/lib/TargetParser/Triple.cpp | |
parent | 718c50e6fe6b82e0e1251422e75759b654b38b5a (diff) | |
download | llvm-users/abhina/fexec_charset.zip llvm-users/abhina/fexec_charset.tar.gz llvm-users/abhina/fexec_charset.tar.bz2 |
replace StringMap with pointerusers/abhina/fexec_charset
Diffstat (limited to 'llvm/lib/TargetParser/Triple.cpp')
-rw-r--r-- | llvm/lib/TargetParser/Triple.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TargetParser/Triple.cpp b/llvm/lib/TargetParser/Triple.cpp index 4f55d05..772fdd8 100644 --- a/llvm/lib/TargetParser/Triple.cpp +++ b/llvm/lib/TargetParser/Triple.cpp @@ -1384,8 +1384,8 @@ StringRef Triple::getOSAndEnvironmentName() const { return Tmp.split('-').second; // Strip second component } -// System charset on z/OS is IBM-1047 and UTF-8 otherwise -StringRef Triple::getSystemCharset() const { +// Default encoding on z/OS is IBM-1047 and UTF-8 otherwise +StringRef Triple::getDefaultTextEncoding() const { if (getOS() == llvm::Triple::ZOS) return "IBM-1047"; return "UTF-8"; |