[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


================
@@ -158,6 +158,7 @@ Non-comprehensive list of changes in this release
 
 - Support parsing the `cc` operand modifier and alias it to the `c` modifier (#GH127719).
 - Added `__builtin_elementwise_exp10`.
+- Added `__builtin_is_modifiable_lvalue` to identify assignable arguments in macros.
----------------
Sirraide wrote:

```suggestion
- Added `__builtin_is_modifiable_lvalue`.
```
I’d honestly just omit this since you could just as well use it outside of macros.

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


More information about the cfe-commits mailing list