[clang] [clang] Add __builtin_start_object_lifetime builtin. (PR #82776)
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 2 03:29:46 PDT 2024
================
@@ -896,6 +896,12 @@ def Launder : Builtin {
let Prototype = "void*(void*)";
}
+def StartObjectLifeTime : Builtin {
+ let Spellings = ["__builtin_start_object_lifetime"];
----------------
hokein wrote:
I don't have strong opinion on the name. Since this builtin doesn't strictly align with std::start_lifetime_as, I think it's better to have some divergence in the name.
https://github.com/llvm/llvm-project/pull/82776
More information about the cfe-commits
mailing list