[clang] Add ParserConversionAction (PR #169803)

Abhina Sree via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 12:08:38 PDT 2026


================
@@ -564,6 +564,9 @@ unsigned Parser::ParseAttributeArgsCommon(
               nullptr,
               Sema::ExpressionEvaluationContextRecord::EK_AttrArgument);
 
+          SaveAndRestore<ConversionAction> SavedTranslationState(
+              ParserConversionAction, CA_NoConversion);
----------------
abhina-sree wrote:

The only usage left is when parsing asm strings, if I can change that to parse as an unevaluated string, we don't need the ParserConversionAction

https://github.com/llvm/llvm-project/pull/169803


More information about the cfe-commits mailing list