X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/77d3741943947b83a5d6a10a5e31650a1005dbde..52e90c0f77bb0e3edb043873b71a73459d4ae8ab:/src/aliasTable.c diff --git a/src/aliasTable.c b/src/aliasTable.c index 82bf80b..8a94f2d 100644 --- a/src/aliasTable.c +++ b/src/aliasTable.c @@ -17,15 +17,15 @@ ** the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, ** MA 02111-1307, USA. ** -** For information on lclint: lclint-request@cs.virginia.edu -** To report a bug: lclint-bug@cs.virginia.edu +** For information on splint: info@splint.org +** To report a bug: splint-bug@splint.org ** For more information: http://www.splint.org */ /* ** aliasTable.c */ -# include "lclintMacros.nf" +# include "splintMacros.nf" # include "basic.h" /*@constant int ATINVALID; @*/ @@ -824,5 +824,22 @@ aliasTable_checkGlobs (aliasTable t) } end_aliasTable_elements; } +# ifdef DEBUGSPLINT +/* +** For debugging only +*/ + +void aliasTable_checkValid (aliasTable t) +{ + aliasTable_elements (t, key, value) + { + (void) sRef_isCompletelyReasonable (key); + sRefSet_elements (value, sr) + { + (void) sRef_isCompletelyReasonable (sr); + } end_sRefSet_elements ; + } end_aliasTable_elements ; +} +# endif