[cfe-commits] {Review Request]C++ C Style Cast Checker

Eli Friedman eli.friedman at gmail.com
Fri May 20 15:33:22 PDT 2011


On Fri, May 20, 2011 at 3:19 PM, Jim Goodnow II <Jim at thegoodnows.net> wrote:
> Using "Effective C++" as a guide, I'm adding a number of static analysis
> checks for C++. The first is a simple check that warns about the use of
> C-Style casts instead of C++ style casts. This is useful because it is hard
> to search for C-Style casts. There is a patch to a couple of files, the
> checker itself and a test.

A variant more like the proposed warning at
http://llvm.org/bugs/show_bug.cgi?id=7103 would probably be more
generally useful...

-Eli



More information about the cfe-commits mailing list