[PATCH] D130568: LangRef: note that `allockind("free")` requires void return
Augie Fackler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 26 07:10:40 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG63b15823505a: LangRef: note that `allockind("free")` requires void return (authored by durin42).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130568/new/
https://reviews.llvm.org/D130568
Files:
llvm/docs/LangRef.rst
Index: llvm/docs/LangRef.rst
===================================================================
--- llvm/docs/LangRef.rst
+++ llvm/docs/LangRef.rst
@@ -1593,6 +1593,7 @@
will match that of the ``allocptr`` argument and the ``allocptr``
argument is invalidated, even if the function returns the same address.
* "free": the function frees the block of memory specified by ``allocptr``.
+ Functions marked as "free" ``allockind`` must return void.
* "uninitialized": Any newly-allocated memory (either a new block from
a "alloc" function or the enlarged capacity from a "realloc" function)
will be uninitialized.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130568.447679.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220726/2dfcf0fa/attachment.bin>
More information about the llvm-commits
mailing list