Add noreturn function attribute.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 22 Mar 2007 02:18:56 +0000 (02:18 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 22 Mar 2007 02:18:56 +0000 (02:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35262 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index 346f858520b629c92738dd4ad53cd45af0457568..7d2fe55e81b959ff139f7d321a6bd75631784ca6 100644 (file)
@@ -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