================
@@ -439,6 +439,13 @@ ExprResult Sema::ActOnBuiltinBitCastExpr(SourceLocation
KWLoc, Declarator &D,
ExprResult Sema::BuildBuiltinBitCastExpr(SourceLocation KWLoc,
TypeSourceInfo *TSI, Expr *Operand,
SourceLocation RParenLoc) {
+ if (Operand && Operand->getType()->isPlaceholderType()) {
----------------
cor3ntin wrote:
```suggestion
if (Operand->hasPlaceholderType()) {
```
https://github.com/llvm/llvm-project/pull/200574
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits