We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
trivial_abi
1 parent fa0cf3d commit adfa6b7Copy full SHA for adfa6b7
clang/include/clang/Basic/AttrDocs.td
@@ -4017,7 +4017,8 @@ purposes of calls. For example:
4017
4018
If a type is trivial for the purposes of calls, has a non-trivial destructor,
4019
and is passed as an argument by value, the convention is that the callee will
4020
-destroy the object before returning.
+destroy the object before returning. The lifetime of the copy of the parameter
4021
+in the caller ends without a destructor call when the call begins.
4022
4023
If a type is trivial for the purpose of calls, it is assumed to be trivially
4024
relocatable for the purpose of ``__is_trivially_relocatable``.
0 commit comments