[clang] [Clang] Introduce __builtin_is_modifiable_lvalue() (PR #132524)

via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 22 12:33:38 PDT 2025


================
@@ -0,0 +1,50 @@
+// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm < %s| FileCheck %s
+
+void report(int value);
----------------
Sirraide wrote:

Yeah, all of these should just be sema tests using `static_assert`; maybe 1 or 2 codegen tests just to make sure we can emit it at all would be nice, but that’s it imo.

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


More information about the cfe-commits mailing list