summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/LangRef.rst')
-rw-r--r--llvm/docs/LangRef.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 01c255d2459..2cc40bfbf6d 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -1058,6 +1058,11 @@ Currently, only the following parameter attributes are defined:
``dereferenceable(<n>)``). This attribute may only be applied to
pointer typed parameters.
+``swiftself``
+ This indicates that the parameter is the self/context parameter. This is not
+ a valid attribute for return values and can only be applied to one
+ parameter.
+
.. _gc:
Garbage Collector Strategy Names
OpenPOWER on IntegriCloud