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

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 22:05:32 PDT 2024


================
@@ -0,0 +1,52 @@
+// RUN: %clang_cc1 -DWIN -verify -std=c++23 -fsyntax-only  %s
+// RUN: %clang_cc1 -verify -std=c++23 -fsyntax-only  %s
----------------
hubert-reinterpretcast wrote:

Duplicate this run line for `-std=c++20`.
Modify the test to use the `__builtin_*` functions only for the `-std=c++20` case.
Use the non-`__builtin_*` functions for the `-std=c++23` case.

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


More information about the llvm-commits mailing list