aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-22 02:18:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-22 02:18:56 +0000
commit2dc5201eae5267cf433d25e86b43935b51057fc2 (patch)
tree4a1fbca60f4be2842158719909b9dd7095e01d22 /docs
parentc2df07095c21382e304036d1d9310ee88fe2e660 (diff)
downloadexternal_llvm-2dc5201eae5267cf433d25e86b43935b51057fc2.zip
external_llvm-2dc5201eae5267cf433d25e86b43935b51057fc2.tar.gz
external_llvm-2dc5201eae5267cf433d25e86b43935b51057fc2.tar.bz2
Add noreturn function attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/LangRef.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 346f858..7d2fe55 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -739,6 +739,10 @@ a power of 2.</p>
<dt><tt>sret</tt></dt>
<dd>This indicates that the parameter specifies the address of a structure
that is the return value of the function in the source program.</dd>
+ <dt><tt>noreturn</tt></dt>
+ <dd>This function attribute indicates that the function never returns. This
+ indicates to LLVM that every call to this function should be treated as if
+ an <tt>unreachable</tt> instruction immediately followed the call.</dd>
<dt><tt>nounwind</tt></dt>
<dd>This function attribute indicates that the function type does not use
the unwind instruction and does not allow stack unwinding to propagate