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

Hubert Tong via cfe-commits cfe-commits at lists.llvm.org
Sun Apr 28 18:12:16 PDT 2024


================
@@ -14638,6 +14649,8 @@ bool FloatExprEvaluator::VisitCallExpr(const CallExpr *E) {
     return true;
   }
 
+  case Builtin::BIfmin:
+  case Builtin::BIfminf:
----------------
hubert-reinterpretcast wrote:

Makes me wonder how far C++ stdlibs will get if they included the C library headers in an inline namespace under the global namespace (and count on `extern "C"` to handle the linkage names).

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


More information about the cfe-commits mailing list