================
@@ -245,7 +245,8 @@ ExprResult Sema::ActOnGCCAsmStmtString(Expr *Expr, bool
ForAsmLabel) {
Diag(Expr->getBeginLoc(), diag::err_asm_operand_empty_string)
<< SL->getSourceRange();
}
- if (Context.getTargetInfo().FromSystemEncodingConverter) {
+ if (Context.getTargetInfo().getDefaultOrdinaryLiteralEncoding() !=
----------------
abhina-sree wrote:
The previous version was causing CI errors in the next PR when I changed
FromSystemEncodingConverter into a noop converter instead of a nullptr. So I
wanted to prevent going down this codepath if the conversion is unnecessary.
https://github.com/llvm/llvm-project/pull/169803
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits