From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Fri, 4 Jun 2021 14:52:39 +0200 Subject: [LTP] [RFC PATCH v2 0/2] Libclang based analyzer In-Reply-To: <20210604111434.21422-1-rpalethorpe@suse.com> References: <20210604111434.21422-1-rpalethorpe@suse.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > Compared to the Coccinelle version it's very ugly. However I think > this will allow us to get all the low hanging fruit without creating > major problems for test developers. I had a look at the code and it does not seem to be that bad. It's longer due to some boiler plate and more explicit but not necessarily ugly. > I guess it could be run during CI if we either fix all the existing > TEST() usages in the library or add an ignore list. I already have a > Coccinelle script to help with the former. I will have a look at the patches generated by coccinelle, I supposed that we want to merge them regardless. -- Cyril Hrubis chrubis@suse.cz