From: brian m. carlson Date: Sat, 16 Nov 2019 05:59:29 GMT Subject: Re: [PATCH] coccinelle: merge twelve rules from object_id.cocci Message-ID: <20191116055929.GB6538@camp.crustytoothpaste.net> In-Reply-To: <6c9962c0-67c1-e700-c145-793ce6498099@web.de> On 2019-11-14 at 12:10:26, Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 14 Nov 2019 12:48:27 +0100 > > This script contained transformation rules for the semantic patch language > which used similar code. > Combine these rules by using five SmPL disjunctions so that the run time > characteristics can be nicer because of common usage of a few metavariables. This seems like a nice improvement. It's probably quite obvious, but my skills with Coccinelle are rather limited, so I appreciate you cleaning this up. -- brian m. carlson: Houston, Texas, US OpenPGP: https://keybase.io/bk2204