[clang] [Clang] Add constexpr eval for cmath builtins (PR #194327)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 28 23:55:23 PDT 2026
================
@@ -0,0 +1,187 @@
+// RUN: %clang_cc1 -fexperimental-new-constant-interpreter -verify -std=c++20 %s
+// RUN: %clang_cc1 -verify -std=c++20 %s
+
+// expected-no-diagnostics
----------------
tbaederr wrote:
The round implementation issues a diagnostic but that doesn't seem to be tested.
https://github.com/llvm/llvm-project/pull/194327
More information about the cfe-commits
mailing list