This is an archive of the discontinued LLVM Phabricator instance.

Another attempt to add a clang-tidy check for flagging C-style casts.
ClosedPublic

Authored by alexfh on Jun 27 2014, 12:13 PM.

Details

Summary

The first version failed the SubstNonTypeTempateParmExpr-related test
on some buildbots. This one uses the new substNonTypeTempateParmExpr matcher to
filter out implicit C-style casts.

This patch depends on D4327.

Diff Detail

Event Timeline

alexfh updated this revision to Diff 10942.Jun 27 2014, 12:13 PM
alexfh retitled this revision from to Another attempt to add a clang-tidy check for flagging C-style casts..
alexfh updated this object.
alexfh edited the test plan for this revision. (Show Details)
alexfh added a reviewer: djasper.
alexfh added a subscriber: Unknown Object (MLST).
djasper accepted this revision.Jun 29 2014, 12:44 PM
djasper edited edge metadata.

Looks good, assuming that nothing else changed.

This revision is now accepted and ready to land.Jun 29 2014, 12:44 PM
alexfh closed this revision.Jun 29 2014, 3:28 PM

I don't see the initial email to the mailing list for this thread
(thus no patch was sent to the ML/archived/etc) - Manuel, Any idea why
this one got lost?