================
@@ -564,6 +564,9 @@ unsigned Parser::ParseAttributeArgsCommon(
nullptr,
Sema::ExpressionEvaluationContextRecord::EK_AttrArgument);
+ SaveAndRestore<ConversionAction> SavedTranslationState(
+ ParserConversionAction, CA_NoConversion);
----------------
s-barannikov wrote:
> The asm statement may load the value in an escape sequence into a register
> Note, that support for generating assembly output with -S is still a work in
> progress. The output isn't entirely valid hlasm syntax yet.
Thanks, that clarifies things.
> It would be nice to have a pragma or attribute syntax that allows someone mix
> encodings of string literals within a single compilation unit.
MSVC has `#pragma code_page` that seems to do exactly that, but I'm not sure if
it can be used outside resource (*.rc) files. I agree it would be nice to have
something similar.
https://github.com/llvm/llvm-project/pull/169803
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits