This is an archive of the discontinued LLVM Phabricator instance.

Create a warning flag for 'warn_conv_*_not_used'
ClosedPublic

Authored by rdwampler on Apr 18 2020, 7:54 PM.

Details

Summary

These warnings are grouped under '-Wclass-conversion' to be compatiable with GCC 9.

Diff Detail

Event Timeline

rdwampler created this revision.Apr 18 2020, 7:54 PM

I suddenly discovered you unnoticed revision. I'd advise you to add more reviewers or subscribers here.

lebedev.ri accepted this revision.Jun 8 2020, 1:55 PM

Sorry for the delay, LG.

clang/test/Misc/warning-flags.c
21–22

Right, it's a good change regardless of whether or not that improves gcc compatibility.

This revision is now accepted and ready to land.Jun 8 2020, 1:55 PM
This revision was automatically updated to reflect the committed changes.