]> andersk Git - splint.git/blobdiff - src/Headers/context.h
*** empty log message ***
[splint.git] / src / Headers / context.h
index 7ecb9b3eac138391ef4a51b1ab8c2c666565cdee..2a1ebb093092c70d385f3faaaa4d8d045180d596 100644 (file)
@@ -39,6 +39,9 @@ extern bool context_loadingLibrary (void) /*@*/ ;
 
 extern void context_setInCommandLine (void) /*@modifies internalState@*/ ;
 extern void context_clearInCommandLine (void) /*@modifies internalState@*/ ;
+
+extern void context_checkGlobalScope (void) /*@modifies internalState@*/ ;
+
 extern bool context_isInCommandLine (void) /*@*/ ;
 extern bool context_inXHFile (void) /*@*/ ;
 
@@ -88,6 +91,7 @@ extern void context_hideShowscan (void);
 extern void context_unhideShowscan (void);
 
 extern void context_setMode (cstring p_s);
+extern void context_setModeNoWarn (cstring p_s);
 extern void context_exitAllClauses (void);
 extern void context_exitAllClausesQuiet (void);
 extern bool context_inHeader (void);
@@ -137,7 +141,7 @@ extern bool context_globAccess (sRef p_s);
 extern /*@observer@*/ globSet context_getUsedGlobs (void);
 extern bool context_hasAccess (typeId p_t);
 extern bool context_couldHaveAccess (typeId p_t);
-extern /*@only@*/ cstring context_unparse (void);
+extern /*@only@*/ cstring context_unparse (void) /*@*/ ; 
 extern void context_setFunctionDefined (fileloc p_loc);
 extern void context_setFlagTemp (flagcode p_f, bool p_b);
 
@@ -206,7 +210,7 @@ extern bool context_inFunctionLike (void) /*@*/ ;
 extern void context_setMacroMissingParams (void);
 extern void context_resetMacroMissingParams (void);
 extern bool context_isMacroMissingParams (void) /*@*/ ;
-extern bool context_inMacroUnknown (void) /*@*/ ;
+extern bool context_inUnknownMacro (void) /*@*/ ;
 
 /*@observer@*/ cstring context_getDump (void) /*@*/ ;
 /*@observer@*/ cstring context_getMerge (void) /*@*/ ;
@@ -336,6 +340,28 @@ extern valueTable context_createGlobalMarkerValueTable (/*@only@*/ stateInfo p_s
 extern int context_getBugsLimit (void) /*@*/ ;
 # define context_getBugsLimit()  ((int)context_getValue(FLG_BUGSLIMIT))
 
+/*drl 12/30/2001 these are some ugly functions that were added to facilitate struct annotations */
+
+
+extern bool hasInvariants (ctype p_ct);
+
+/*drl 1/6/2001: I didn't think these functions were solid enough to include in the
+  stable  release of splint.  I coomented them out so that they won't break anything
+  but didn't delete them because they will be fixed and included later
+*/
+
+/*extern void  setGlobalStructInfo(ctype p_ct, constraintList p_list); */
+
+/*extern constraintList getInvariants (ctype p_ct); */
+
+/* static int getSref (ctype ct, sRef s); */
+
+/* sRef fixSref (ctype p_ct, sRef p_base, sRef p_fix); */
+
+ctype context_setLastStruct (/*@returned@*/ ctype p_s) /*@modifies internalState@*/;
+ctype context_getLastStruct (/*@returned@*/ /*ctype p_s*/) /*@modifies internalState@*/;
+
+
 # else
 # error "Multiple include"
 # endif
This page took 0.054128 seconds and 4 git commands to generate.