[clang] [clang] Handle Binary StingLiteral kind in one more place (PR #132201)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 20 05:41:56 PDT 2025
================
@@ -4143,6 +4143,7 @@ Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
// We don't allow UTF literals to be implicitly converted
break;
case StringLiteralKind::Ordinary:
+ case StringLiteralKind::Binary:
----------------
Fznamznon wrote:
That just brings to the state of before the patch with Binary literal. It seems the code is C++-specific, so I'm not sure what are the implications and if #embed can end up in the situation at all. Let me know if it better to revert the whole thing and think a bit more about it.
https://github.com/llvm/llvm-project/pull/132201
More information about the cfe-commits
mailing list