================
@@ -21720,6 +21520,8 @@ ExprResult Sema::CheckPlaceholderExpr(Expr *E) {
   const BuiltinType *placeholderType = E->getType()->getAsPlaceholderType();
   if (!placeholderType) return E;
 
+  E = E->IgnoreParens();
----------------
Serosh-commits wrote:

yeah an implicit cast can change the type of the expr which could be risky as 
it might stop seeing the placeholder type its looking for   :)

https://github.com/llvm/llvm-project/pull/183633
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to