[PATCH] Suggest automated replacements of C-style casts with C++ casts.

Alexander Kornienko alexfh at google.com
Sat Jul 12 11:49:28 PDT 2014


Don't analyze casts in template instantiations. Warn on casts in macros, but don't suggest fixes.

http://reviews.llvm.org/D4478

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


More information about the cfe-commits mailing list