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

Jim Goodnow II Jim at TheGoodnows.net
Fri May 20 15:19:40 PDT 2011


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.

  - jim

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CStylCast.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110520/00505938/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CStyleCastChecker.cpp
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110520/00505938/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cstylecasts.cpp
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110520/00505938/attachment-0002.ksh>


More information about the cfe-commits mailing list