[PATCH] Add a check to flag the usage of C-style casts (Google Style).

Alexander Kornienko alexfh at google.com
Wed Jun 18 02:56:54 PDT 2014


Hi djasper,

Add a check to flag the usage of C-style casts, as per Google Style
Guide:
http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Casting#Casting

http://reviews.llvm.org/D4189

Files:
  clang-tidy/google/CMakeLists.txt
  clang-tidy/google/CStyleCastsCheck.cpp
  clang-tidy/google/CStyleCastsCheck.h
  clang-tidy/google/GoogleTidyModule.cpp
  test/clang-tidy/c-style-casts.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4189.10541.patch
Type: text/x-patch
Size: 5163 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140618/fb669611/attachment.bin>


More information about the cfe-commits mailing list