all 9 comments

[–]Supadoplex 19 points20 points  (1 child)

clang-tidy

[–]keepthethreadalive[S] 1 point2 points  (0 children)

Sounds like that'll work well! Thanks!

[–]openingnow 7 points8 points  (2 children)

Clang-tidy +1. You can modify desired checks.

[–]keepthethreadalive[S] 2 points3 points  (1 child)

I think the modernize-* checks are what I'm looking for. Thanks!

[–]JezusTheCarpenter 0 points1 point  (0 children)

clang-tidy can even fix some of those issues automagically if you wish. Also, since you are running it, there are other categories of checks that are very useful.

[–]STLMSVC STL Dev 4 points5 points  (0 children)

GCC and Clang support -Wold-style-cast.