lclint-interest message 170

From evans@cs.virginia.edu Wed Sep 24 13:04:04 1997
Date: Wed, 24 Sep 97 13:01:43 -0400
From: evans@cs.virginia.edu (David Evans)
To: arto.astala@ntc.nokia.com
Cc: lclint-interest@larch.lcs.mit.edu, astala@tnso13.tele.nokia.fi
In-Reply-To: Arto Astala's message of Wed, 24 Sep 1997 19:14:04 +0300 (EEST) <199709241614.TAA11091@tnso14.tele.nokia.fi>
Subject: how do I annotate formal parameters


One solution is to preface formal parameter names with a prefix that
(hopefully) keeps them from interfering with the system namespace.  You
can control the prefix by using, +protoparamprefix "p_".  LCLint then
complains if a parameter in a function prototype does not begin with
"p_".

--- Dave



Previous Message Next Message Archive Summary LCLint Home Page David Evans
University of Virginia, Computer Science
evans@cs.virginia.edu