[clang] Add ParserConversionAction (PR #169803)
Sean Perry via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 3 13:40:28 PDT 2026
================
@@ -564,6 +564,9 @@ unsigned Parser::ParseAttributeArgsCommon(
nullptr,
Sema::ExpressionEvaluationContextRecord::EK_AttrArgument);
+ SaveAndRestore<ConversionAction> SavedTranslationState(
+ ParserConversionAction, CA_NoConversion);
----------------
perry-ca wrote:
What about the pending PR's you have? We will need this for pragma map. That can't use ParseUnevaluatedStringLiteral() and then convert because escape sequences won't be handled correctly.
https://github.com/llvm/llvm-project/pull/169803
More information about the cfe-commits
mailing list