[cfe-dev] [clang-tidy] adding simple checks

Manuel Klimek klimek at google.com
Fri Jul 17 03:28:28 PDT 2015


On Thu, Jul 16, 2015 at 11:45 AM Tobias Langner <
randomcppprogrammer at gmail.com> wrote:

> Hi,
>
> I want to play around with clang-tidy and implement simple checks on it. I
> decided to implement checks for some of the rules found in various guild
> books like “C++ Coding Standards” by Mr. Sutter (e.g. "avoid overloading
> operator&&, operator|| and operator,”). Are such simple checks welcome for
> the clang-tidy project? If so, I’d post my patches.
>

Generally, I'd say things that form a group of stuff that's considered
"good practice" are welcome. Overloading the wrong operators (like ',',
ick) certainly seems like something people want to switch on (heck, *I*
want to switch it on)


>
> Regards
> Tobias
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150717/26e3a815/attachment.html>


More information about the cfe-dev mailing list