This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Fix some false positives in google-readability-casting
ClosedPublic

Authored by alexfh on Jan 29 2015, 4:36 AM.

Details

Summary

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.

Diff Detail

Event Timeline

alexfh updated this revision to Diff 18951.Jan 29 2015, 4:36 AM
alexfh retitled this revision from to [clang-tidy] Fix some false positives in google-readability-casting.
alexfh updated this object.
alexfh edited the test plan for this revision. (Show Details)
alexfh added a reviewer: klimek.
alexfh added a subscriber: Unknown Object (MLST).
klimek accepted this revision.Jan 29 2015, 4:38 AM
klimek edited edge metadata.

lg

This revision is now accepted and ready to land.Jan 29 2015, 4:38 AM
alexfh closed this revision.Jan 29 2015, 7:18 AM