[PATCH] [clang-tidy] Fix some false positives in google-readability-casting
Alexander Kornienko
alexfh at google.com
Thu Jan 29 04:36:44 PST 2015
Hi klimek,
Ignore C-style casts in extern "C" {} sections. Be more careful when
detecting redundant casts between typedefs to the same type - emit a more
specific warning and don't automatically fix them.
http://reviews.llvm.org/D7247
Files:
clang-tidy/google/AvoidCStyleCastsCheck.cpp
test/clang-tidy/google-readability-casting.c
test/clang-tidy/google-readability-casting.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7247.18951.patch
Type: text/x-patch
Size: 10435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150129/e2b11692/attachment.bin>
More information about the cfe-commits
mailing list