]> andersk Git - splint.git/blobdiff - src/Headers/warnClause.h
Added va_copy to standard.h.
[splint.git] / src / Headers / warnClause.h
index 375f9ddcb602ded63511b33604381e23d7f9f032..4b14924702e93d7ea34673efe19101a99b5ba5e2 100644 (file)
@@ -1,5 +1,5 @@
 /*
-** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
+** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2003.
 ** See ../LICENSE for license information.
 **
 */
@@ -14,21 +14,21 @@ struct s_warnClause
 {
   /*@only@*/ fileloc loc;
   /*@only@*/ flagSpec flag;
-  /*@only@*/ exprNode msg;
+  /*@only@*/ cstring msg;
 } ;
 
 /*@constant null warnClause warnClause_undefined; @*/
 # define warnClause_undefined    ((warnClause) NULL)
 
-extern /*@falsenull@*/ bool warnClause_isDefined (/*@null@*/ warnClause p_f) /*@*/ ;
-extern /*@truenull@*/ bool warnClause_isUndefined (/*@null@*/ warnClause p_f) /*@*/ ;
+extern /*@falsewhennull@*/ bool warnClause_isDefined (/*@null@*/ warnClause p_f) /*@*/ ;
+extern /*@nullwhentrue@*/ bool warnClause_isUndefined (/*@null@*/ warnClause p_f) /*@*/ ;
 
 # define warnClause_isDefined(f)   ((f) != warnClause_undefined)
 # define warnClause_isUndefined(f) ((f) == warnClause_undefined)
 
 extern warnClause warnClause_create (/*@only@*/ lltok,
                                     /*@only@*/ flagSpec p_flag,
-                                    /*@only@*/ exprNode p_msg) /*@*/ ;
+                                    /*@only@*/ cstring p_msg) /*@*/ ;
 
 extern /*@only@*/ warnClause warnClause_copy (warnClause) /*@*/ ;
 
@@ -37,7 +37,7 @@ extern /*@observer@*/ flagSpec warnClause_getFlag (warnClause p_w) /*@*/ ;
 extern /*@only@*/ cstring warnClause_dump (warnClause p_wc) /*@*/ ;
 extern /*@only@*/ warnClause warnClause_undump (char **p_s) /*@modifies p_s@*/ ;
 
-extern bool warnClause_hasMessage (warnClause p_w) /*@*/ ;
+extern /*@falsewhennull@*/ bool warnClause_hasMessage (warnClause p_w) /*@*/ ;
 
 extern /*@observer@*/ cstring warnClause_getMessage (warnClause p_w) /*@*/ ;
 extern /*@only@*/ cstring warnClause_unparse (warnClause p_w) /*@*/ ;
This page took 0.035719 seconds and 4 git commands to generate.