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

Alp Toker alp at nuanti.com
Wed Jun 25 01:48:07 PDT 2014


How about just using -Wold-style-cast?


On 25 June 2014 11:13:42 EEST, Alexander Kornienko <alexfh at google.com> wrote:
>Ping.
>
>
>On Wed, Jun 18, 2014 at 2:25 PM, Alexander Kornienko
><alexfh at google.com>
>wrote:
>
>> Reordered registration of the checks. Added a newline after
>CHECK-NOT.
>>
>> 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
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>cfe-commits mailing list
>cfe-commits at cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140625/dfe43a78/attachment.html>


More information about the cfe-commits mailing list