================ @@ -964,6 +964,13 @@ def IsConstantEvaluated : LangBuiltin<"CXX_LANG"> { let Prototype = "bool()"; } +def IsLValue : Builtin { + let Spellings = ["__builtin_is_modifiable_lvalue"]; + let Attributes = [NoThrow, CustomTypeChecking, UnevaluatedArguments, + Constexpr]; ---------------- tbaederr wrote:
There is no constexpr implementation in this patch. https://github.com/llvm/llvm-project/pull/132524 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits