From: Tim Deegan Subject: Re: [PATCH v5] coverity: Store the modelling file in the source tree. Date: Fri, 24 Jan 2014 18:11:12 +0100 Message-ID: <20140124171112.GB4909@deinos.phlegethon.org> References: <1390487303-31765-1-git-send-email-andrew.cooper3@citrix.com> <52E131AB.7020603@eu.citrix.com> <52E132EE.2030101@citrix.com> <52E29A35.9060205@eu.citrix.com> <52E29B6D.6070208@citrix.com> <52E29BE6.6050601@eu.citrix.com> <20140124170421.GA4909@deinos.phlegethon.org> <1390583138.13513.20.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1390583138.13513.20.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Keir Fraser , George Dunlap , Andrew Cooper , Ian Jackson , Xen-devel , Jan Beulich List-Id: xen-devel@lists.xenproject.org At 17:05 +0000 on 24 Jan (1390579538), Ian Campbell wrote: > On Fri, 2014-01-24 at 18:04 +0100, Tim Deegan wrote: > > At 16:59 +0000 on 24 Jan (1390579158), George Dunlap wrote: > > > On 01/24/2014 04:57 PM, Andrew Cooper wrote: > > > > On 24/01/14 16:52, George Dunlap wrote: > > > >> The name of the file might be a bit confusing though, if people think > > > >> it is supposed to be compliled... would it make sense maybe to call it > > > >> ".txt", and include some instructions at the top with a line that says > > > >> "---- cut here 8< ---" or something? > > > >> > > > >> -George > > > > Not really - Coverity uses the file extension to work out how to > > > > interpret the modelling file. ".c" is correct here, and will cause > > > > smart text editors to apply proper syntax highlighting. > > > > > > > > Alternates are .cpp and .java, depending on the primary language of the > > > > project. > > > > > > Yes, I assumed that *coverity* needs it to be a .c. But it doesn't need > > > to be a .c file in the xen tree -- the instructions could say, "Place > > > the text below into a file named coverity_model.c". > > > > +1. I don't think it's confusing for humans but we don't want > > e.g. ctags/cscope or IDEs picking up the coverity versions > > of things. > > Do you run tags on the whole of xen.git? Not usually; I guess it's no worse than the multiple architectures, minios &c where it is. So, stet as a .c. Tim.