This is an archive of the discontinued LLVM Phabricator instance.

Revert "[Clang] -Wunused-but-set-parameter and -Wunused-but-set-variable"
AbandonedPublic

Authored by mbenfield on Apr 28 2021, 12:12 PM.

Details

Summary

This reverts commit 9b0501abc7b515b740fb5ee929817442dd3029a5.

There are false positives in the linux kernel and other projects.

Diff Detail

Event Timeline

mbenfield created this revision.Apr 28 2021, 12:12 PM
mbenfield requested review of this revision.Apr 28 2021, 12:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2021, 12:12 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
Abpostelnicu accepted this revision.Apr 28 2021, 12:20 PM

Thank you for this! Also I think it’s very well that you want to implement this warning in clang, with a little bit of more polish it will be up for merger!

This revision is now accepted and ready to land.Apr 28 2021, 12:20 PM
mbenfield abandoned this revision.Apr 28 2021, 3:06 PM
clang/test/SemaCXX/sizeless-1.cpp