================ @@ -6226,6 +6226,15 @@ ExprResult Sema::CheckConvertedConstantExpression(Expr *From, QualType T, return R; } +ExprResult Sema::EvaluateConvertedConstantExpression(Expr *E, QualType T, + APValue &Value, + Sema::CCEKind CCE, + bool RequireInt) { + + APValue PreNarrowingValue; ---------------- cor3ntin wrote:
That's because I wanted to use the same pattern as CheckConvertedConstantExpression/BuildConvertedConstantExpression which both defer to a static function. They probably could all be changed to be members of Sema if we wanted to. I'd rather not do that in this patch though https://github.com/llvm/llvm-project/pull/73103 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits