summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 88429cf)
raw | patch | inline | side by side (parent: 88429cf)
author | Bill Wendling <isanbard@gmail.com> | |
Sun, 27 Oct 2013 04:19:29 +0000 (04:19 +0000) | ||
committer | Bill Wendling <isanbard@gmail.com> | |
Sun, 27 Oct 2013 04:19:29 +0000 (04:19 +0000) |
PR15447
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193492 91177308-0d34-0410-b5e6-96231b3b80d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193492 91177308-0d34-0410-b5e6-96231b3b80d8
docs/LangRef.rst | patch | blob | history |
diff --git a/docs/LangRef.rst b/docs/LangRef.rst
index b75c6b1b80f3d679d39b79fa4cb7a175bc45289b..e81fda43ce09fae2750310ac78d29c7bc56b5328 100644 (file)
--- a/docs/LangRef.rst
+++ b/docs/LangRef.rst
Overview:
"""""""""
-The function type can be thought of as a function signature. It consists
-of a return type and a list of formal parameter types. The return type
-of a function type is a first class type or a void type.
+The function type can be thought of as a function signature. It consists of a
+return type and a list of formal parameter types. The return type of a function
+type is a void type or first class type --- except for :ref:`label <t_label>`
+and :ref:`metadata <t_metadata>` types.
Syntax:
"""""""
<returntype> (<parameter list>)
...where '``<parameter list>``' is a comma-separated list of type
-specifiers. Optionally, the parameter list may include a type ``...``,
-which indicates that the function takes a variable number of arguments.
-Variable argument functions can access their arguments with the
-:ref:`variable argument handling intrinsic <int_varargs>` functions.
-'``<returntype>``' is any type except :ref:`label <t_label>`.
+specifiers. Optionally, the parameter list may include a type ``...``, which
+indicates that the function takes a variable number of arguments. Variable
+argument functions can access their arguments with the :ref:`variable argument
+handling intrinsic <int_varargs>` functions. '``<returntype>``' is any type
+except :ref:`label <t_label>` and :ref:`metadata <t_metadata>`.
Examples:
"""""""""