[clang] [C23] [CLANG] Adding C23 constexpr math functions: fmin and frexp. (PR #88978)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 17 11:09:42 PDT 2024


================
@@ -14547,6 +14547,18 @@ bool FloatExprEvaluator::VisitCallExpr(const CallExpr *E) {
   default:
     return false;
 
+  case Builtin::BI__builtin_frexpf:
----------------
AaronBallman wrote:

I think it would be helpful to also update `clang\lib\AST\Interp\InterpBuiltin.cpp` to support the builtins for C++23 constexpr math functions. CC @tbaederr for his opinion.

https://github.com/llvm/llvm-project/pull/88978


More information about the cfe-commits mailing list