================
@@ -245,6 +249,18 @@ ExprResult Sema::ActOnGCCAsmStmtString(Expr *Expr, bool
ForAsmLabel) {
Diag(Expr->getBeginLoc(), diag::err_asm_operand_empty_string)
<< SL->getSourceRange();
}
+
+ if (!IsConstexpr &&
+ PP.getTextEncoding().getFromIBM1047Converter() != nullptr) {
----------------
cor3ntin wrote:
> If we don't want to make it look like this is something that applies for
> other platforms, we can name it getzOSFromAsmLiteralEncodingConverter.
Sold!
https://github.com/llvm/llvm-project/pull/169803
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits