[cfe-commits] r68766 - /cfe/trunk/docs/LanguageExtensions.html

Ted Kremenek kremenek at apple.com
Thu Apr 9 22:04:22 PDT 2009


Author: kremenek
Date: Fri Apr 10 00:04:22 2009
New Revision: 68766

URL: http://llvm.org/viewvc/llvm-project?rev=68766&view=rev
Log:
Wording changes.

Modified:
    cfe/trunk/docs/LanguageExtensions.html

Modified: cfe/trunk/docs/LanguageExtensions.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LanguageExtensions.html?rev=68766&r1=68765&r2=68766&view=diff

==============================================================================
--- cfe/trunk/docs/LanguageExtensions.html (original)
+++ cfe/trunk/docs/LanguageExtensions.html Fri Apr 10 00:04:22 2009
@@ -289,12 +289,13 @@
 <h4 id="attr_analyzer_noreturn"><tt>analyzer_noreturn</tt></h4>
 
 <p>Clang's static analysis engine understands the standard <tt>noreturn</tt>
-attribute, which indicates that a call to a given function never returns.
-Function prototypes for common functions like <tt>exit</tt> are typically
-annotated with this attribute, as well as a variety of common assertion
-handlers. Users can educate the static analyzer about their own custom assertion
-handles (thus cutting down on false positives due to false paths) by marking
-their own "panic" functions with this attribute.</p>
+attribute. This attribute, which is typically affixed to a function prototype,
+indicates that a call to a given function never returns. Function prototypes for
+common functions like <tt>exit</tt> are typically annotated with this attribute,
+as well as a variety of common assertion handlers. Users can educate the static
+analyzer about their own custom assertion handles (thus cutting down on false
+positives due to false paths) by marking their own "panic" functions
+with this attribute.</p>
 
 <p>While useful, <tt>noreturn</tt> is not applicable in all cases. Sometimes
 there are special functions that for all intensive purposes should be considered





More information about the cfe-commits mailing list