Add a new attribute: norecurse
[oota-llvm.git] / docs / LangRef.rst
index 507c3bfd334e6f003ed16ba560ef21e772a1281a..d2bba5c8a74310e22567cf78417c7b70e305463d 100644 (file)
@@ -1277,6 +1277,10 @@ example:
     This function attribute indicates that the function never returns
     normally. This produces undefined behavior at runtime if the
     function ever does dynamically return.
+``norecurse``
+    This function attribute indicates that the function does not call itself
+    either directly or indirectly down any possible call path. This produces
+    undefined behavior at runtime if the function ever does recurse.
 ``nounwind``
     This function attribute indicates that the function never raises an
     exception. If the function does raise an exception, its runtime