[cfe-dev] Learning how to use and deploy 'scan-build'
Martin J. O'Riordan via cfe-dev
cfe-dev at lists.llvm.org
Sat Nov 12 11:18:43 PST 2016
Thanks, but not luck with this either :-(
From: Laszlo Nagy [mailto:rizsotto.mailinglist at gmail.com]
Sent: 12 November 2016 13:59
To: Martin J. O'Riordan <Martin.ORiordan at movidius.com>
Cc: Anna Zaks <ganna at apple.com>; Aleksei Sidorin <a.sidorin at samsung.com>; cfe-dev <cfe-dev at lists.llvm.org>
Subject: Re: [cfe-dev] Learning how to use and deploy 'scan-build'
hey Martin, the checker name what you are looking for is 'alpha.deadcode.UnreachableCode'
also lower the bar for your test. (actually you are testing the checker not the scan-build tool now :))
/* this will trigger warning */
void foo() {
int i = 0;
return;
++i;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161112/5e54095f/attachment.html>
More information about the cfe-dev
mailing list