C++ Feature Whitelist/Blacklist

Andrew Jeffery andrew at aj.id.au
Tue Nov 8 09:37:56 AEDT 2016


On Mon, 2016-11-07 at 02:26 -0800, Nancy Yuen wrote:
> >     The rules are designed to be supported by an analysis tool. Violations
> >     of rules will be flagged with references (or links) to the relevant
> >     rule. We do not expect you to memorize all the rules before trying to
> >     write code.
> >
> > In fact, clang-tidy has a number of checks for these rules to encourage
> > their use.
> 
> I would love it if we could install clang-tidy to enforce these rules on openBMC's gerrit.

+1 for supplementing whatever document we create with tools. They can
get us a long of the way towards consistency, and any manually tweaked
inconsistencies can be discussed in code review.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161108/cb141c5a/attachment-0001.sig>


More information about the openbmc mailing list