summaryrefslogtreecommitdiff
path: root/docs/LangRef.rst
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-06-20 21:55:10 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-06-20 21:55:10 +0000
commit8592fba155ecb695b2b7686bbd03fe6e6ae87d10 (patch)
tree6b4eea836ae5cd37b01fe06c911f7f4daafdcd47 /docs/LangRef.rst
parentb0bdcb5f8af7cc4e64aad5954f2230f47fa4ef90 (diff)
downloadllvm-8592fba155ecb695b2b7686bbd03fe6e6ae87d10.tar.gz
llvm-8592fba155ecb695b2b7686bbd03fe6e6ae87d10.tar.bz2
llvm-8592fba155ecb695b2b7686bbd03fe6e6ae87d10.tar.xz
Minor grammar and word usage fix to 'returned' parameter attribute section of LangRef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.rst')
-rw-r--r--docs/LangRef.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index a0073ddc55..cd72cc963e 100644
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
@@ -733,14 +733,13 @@ Currently, only the following parameter attributes are defined:
attribute for return values and can only be applied to one parameter.
``returned``
- This indicates that the value of the function always returns the value
- of the parameter as its return value. This is an optimization hint to
- the code generator when generating the caller, allowing tail call
- optimization and omission of register saves and restores in some cases;
- it is not checked or enforced when generating the callee. The parameter
- and the function return type must be valid operands for the
- :ref:`bitcast instruction <i_bitcast>`. This is not a valid attribute for
- return values and can only be applied to one parameter.
+ This indicates that the function always returns the argument as its return
+ value. This is an optimization hint to the code generator when generating
+ the caller, allowing tail call optimization and omission of register saves
+ and restores in some cases; it is not checked or enforced when generating
+ the callee. The parameter and the function return type must be valid
+ operands for the :ref:`bitcast instruction <i_bitcast>`. This is not a
+ valid attribute for return values and can only be applied to one parameter.
.. _gc: