aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/LiteralSupport.cpp
diff options
context:
space:
mode:
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2025-06-11 11:22:40 -0400
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2025-06-11 11:29:04 -0400
commit9ff4728dacdbec859cd7c733b54f46c82e5afab2 (patch)
tree44aaee96caba918cb8485c9cce324d2766ca6546 /clang/lib/Lex/LiteralSupport.cpp
parent718c50e6fe6b82e0e1251422e75759b654b38b5a (diff)
downloadllvm-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 'clang/lib/Lex/LiteralSupport.cpp')
-rw-r--r--clang/lib/Lex/LiteralSupport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp
index 622d758..6827e32 100644
--- a/clang/lib/Lex/LiteralSupport.cpp
+++ b/clang/lib/Lex/LiteralSupport.cpp
@@ -1835,7 +1835,7 @@ CharLiteralParser::CharLiteralParser(const char *begin, const char *end,
llvm::TextEncodingConverter *Converter = nullptr;
if (!isUTFLiteral(Kind) && LiteralConv)
- Converter = LiteralConv->getConverter(ToExecCharset);
+ Converter = LiteralConv->getConverter(ToExecEncoding);
while (begin != end) {
// Is this a span of non-escape characters?