[PATCH] [clang-tidy] Handle c-style casts from/to enums.

Alexander Kornienko alexfh at google.com
Wed Oct 1 05:29:58 PDT 2014


Hi klimek,

Convert c-style casts between integral end enum types to static_cast<>.

http://reviews.llvm.org/D5558

Files:
  clang-tidy/google/AvoidCStyleCastsCheck.cpp
  test/clang-tidy/avoid-c-style-casts.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5558.14275.patch
Type: text/x-patch
Size: 5166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141001/5e258d69/attachment.bin>


More information about the cfe-commits mailing list