From mboxrd@z Thu Jan 1 00:00:00 1970 From: julia.lawall@lip6.fr (Julia Lawall) Date: Mon, 7 Apr 2014 17:16:08 +0200 (CEST) Subject: [Cocci] How to exclude volatile data accesses in expressions with SmPL? In-Reply-To: <5342BF46.8030405@users.sourceforge.net> References: <5307CAA2.8060406@users.sourceforge.net> <53342A9C.9070406@users.sourceforge.net> <5334705A.9050303@users.sourceforge.net> <5342BF46.8030405@users.sourceforge.net> Message-ID: To: cocci@systeme.lip6.fr List-Id: cocci@systeme.lip6.fr On Mon, 7 Apr 2014, SF Markus Elfring wrote: > > Coccinelle makes an effort to infer types. YOu may need to use eg > > --recursive-includes and --relax-include-path to get the most possible > > type information. > > How do you think about to make it possible to check attributes for expressions > in SmPL constraints? I tried to do this at one point, but it introduced a lot of parsing problems, because attributes can appear in a variety of places. The benefit didn't seem to be worth the risk. julia