summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorStefan Stipanovic <sstipanovic@s-energize.com>2019-11-02 16:35:38 +0100
committerStefan Stipanovic <sstipanovic@s-energize.com>2019-11-02 16:35:38 +0100
commitc12efa2ed0547f7f9f8fba0ad7a76a4cb08bf53a (patch)
tree6817e56919a37df743c59328020ec6702d268a9d /llvm/docs
parent97725707f488d3f00f94d4c4f2d9e193c302b23c (diff)
downloadbcm5719-llvm-c12efa2ed0547f7f9f8fba0ad7a76a4cb08bf53a.tar.gz
bcm5719-llvm-c12efa2ed0547f7f9f8fba0ad7a76a4cb08bf53a.zip
NoFree argument attribute.
Summary: Deducing nofree atrribute for function arguments. Reviewers: jdoerfert Subscribers: hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D67886
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/LangRef.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index c6c2cdff257..6e99f25b572 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -1133,6 +1133,10 @@ Currently, only the following parameter attributes are defined:
attribute for return values. Addresses used in volatile operations
are considered to be captured.
+``nofree``
+ This indicates that callee does not free the pointer argument. This is not
+ a valid attribute for return values.
+
.. _nest:
``nest``
OpenPOWER on IntegriCloud