================
@@ -1140,6 +1139,37 @@ static bool ProcessFormatStringLiteral(const Expr
*FormatExpr,
return false;
}
+static const UnaryExprOrTypeTraitExpr *getAsSizeOfExpr(const Expr *E) {
----------------
ojhunt wrote:
We should avoid this large code movement, we could forward declare these
functions instead, but I think a better approach be to move the actual
diagnosis logic into a separate function.
https://github.com/llvm/llvm-project/pull/170637
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits