The first version failed the SubstNonTypeTempateParmExpr-related test
on some buildbots. This one uses the new substNonTypeTempateParmExpr matcher to
filter out implicit C-style casts.
This patch depends on D4327.
Paths 
  |  Differential  D4328  
Another attempt to add a clang-tidy check for flagging C-style casts. ClosedPublic Authored by alexfh on Jun 27 2014, 12:13 PM. 
Details Summary The first version failed the SubstNonTypeTempateParmExpr-related test This patch depends on D4327. 
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jun 29 2014, 12:44 PM Comment Actions I don't see the initial email to the mailing list for this thread 
Revision Contents 
Diff 10942 clang-tidy/google/AvoidCStyleCastsCheck.h
 
 clang-tidy/google/AvoidCStyleCastsCheck.cpp
 
 clang-tidy/google/CMakeLists.txt
 clang-tidy/google/GoogleTidyModule.cpp
 test/clang-tidy/avoid-c-style-casts.cpp
 
  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||