[cfe-commits] r97083 - /cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h

Ted Kremenek kremenek at apple.com
Wed Feb 24 16:20:25 PST 2010


Author: kremenek
Date: Wed Feb 24 18:20:25 2010
New Revision: 97083

URL: http://llvm.org/viewvc/llvm-project?rev=97083&view=rev
Log:
Divide list of registration functions in API and foundational checks.  Also trim whitespace.

Modified:
    cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h

Modified: cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h?rev=97083&r1=97082&r2=97083&view=diff
==============================================================================
--- cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h (original)
+++ cfe/trunk/lib/Checker/GRExprEngineInternalChecks.h Wed Feb 24 18:20:25 2010
@@ -19,6 +19,7 @@
 
 class GRExprEngine;
 
+// Foundational checks that handle basic semantics.
 void RegisterAdjustedReturnValueChecker(GRExprEngine &Eng);
 void RegisterArrayBoundChecker(GRExprEngine &Eng);
 void RegisterAttrNonNullChecker(GRExprEngine &Eng);
@@ -29,11 +30,10 @@
 void RegisterDivZeroChecker(GRExprEngine &Eng);
 void RegisterFixedAddressChecker(GRExprEngine &Eng);
 void RegisterNoReturnFunctionChecker(GRExprEngine &Eng);
-void RegisterOSAtomicChecker(GRExprEngine &Eng);
 void RegisterPointerArithChecker(GRExprEngine &Eng);
 void RegisterPointerSubChecker(GRExprEngine &Eng);
 void RegisterReturnPointerRangeChecker(GRExprEngine &Eng);
-void RegisterReturnStackAddressChecker(GRExprEngine &Eng);  
+void RegisterReturnStackAddressChecker(GRExprEngine &Eng);
 void RegisterReturnUndefChecker(GRExprEngine &Eng);
 void RegisterUndefBranchChecker(GRExprEngine &Eng);
 void RegisterUndefCapturedBlockVarChecker(GRExprEngine &Eng);
@@ -41,5 +41,9 @@
 void RegisterUndefinedArraySubscriptChecker(GRExprEngine &Eng);
 void RegisterUndefinedAssignmentChecker(GRExprEngine &Eng);
 void RegisterVLASizeChecker(GRExprEngine &Eng);
+
+// API checks.
+void RegisterOSAtomicChecker(GRExprEngine &Eng);
+
 } // end clang namespace
 #endif





More information about the cfe-commits mailing list