This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Avoid empty statement warnings
ClosedPublic

Authored by mcgrathr on Apr 16 2021, 7:02 PM.

Details

Summary

An empty macro that expands to just ... else ; can get
warnings from some compilers (e.g. GCC's -Wempty-body).

Diff Detail

Event Timeline

mcgrathr requested review of this revision.Apr 16 2021, 7:02 PM
mcgrathr created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2021, 7:02 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad accepted this revision.Apr 16 2021, 7:11 PM

Well I wrote up https://reviews.llvm.org/D100683, but I guess yours makes more sense!

This revision is now accepted and ready to land.Apr 16 2021, 7:11 PM
vitalybuka accepted this revision.Apr 16 2021, 10:17 PM
This revision was automatically updated to reflect the committed changes.