Skip to content

Commit 392b8f3

Browse files
authored
[clang] Handle Binary StingLiteral kind in one more place (#132201)
The bots are upset by #127629 . Fix that.
1 parent 7063419 commit 392b8f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/Sema/SemaExprCXX.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4143,6 +4143,7 @@ Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) {
41434143
// We don't allow UTF literals to be implicitly converted
41444144
break;
41454145
case StringLiteralKind::Ordinary:
4146+
case StringLiteralKind::Binary:
41464147
return (ToPointeeType->getKind() == BuiltinType::Char_U ||
41474148
ToPointeeType->getKind() == BuiltinType::Char_S);
41484149
case StringLiteralKind::Wide:

0 commit comments

Comments
 (0)