This is an archive of the discontinued LLVM Phabricator instance.

NarrowingConversionsCheck should support inhibiting conversions of mixed integer and floating point types with WarnOnEquivalentBitWidth=0.
ClosedPublic

Authored by Stephen on Jun 8 2021, 5:59 AM.

Details

Summary

Also standardize control flow of handleX conversion functions to make it easier to be consistent.

Diff Detail

Event Timeline

Stephen created this revision.Jun 8 2021, 5:59 AM
Stephen requested review of this revision.Jun 8 2021, 5:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2021, 5:59 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Stephen updated this revision to Diff 350950.Jun 9 2021, 10:38 AM

Fix the expected error messages.

Stephen updated this revision to Diff 351024.Jun 9 2021, 6:12 PM

Fix the diff.

Stephen updated this revision to Diff 351028.Jun 9 2021, 6:20 PM

Undo that last move, since that didn't work.
I'm absolutely incompetent with this tool.

Stephen updated this revision to Diff 351029.Jun 9 2021, 6:28 PM

Try specifying the commit range.

Stephen updated this revision to Diff 351030.Jun 9 2021, 6:29 PM

Try again.

hokein accepted this revision.Jun 10 2021, 12:20 AM
This revision is now accepted and ready to land.Jun 10 2021, 12:20 AM