This is an archive of the discontinued LLVM Phabricator instance.

[esan] Use do-while rather than braces for empty interceptors
ClosedPublic

Authored by bruening on May 2 2016, 1:38 PM.

Details

Summary

Replaces {} with a do..while sequence in esan's empty interceptors to allow
natural use with a trailing semicolon. The sequence uses each argument to
avoid warnings.

Diff Detail

Repository
rL LLVM

Event Timeline

bruening updated this revision to Diff 55888.May 2 2016, 1:38 PM
bruening retitled this revision from to [esan] Use do-while rather than braces for empty interceptors.
bruening updated this object.
bruening added a reviewer: filcab.
bruening added subscribers: zhaoqin, llvm-commits.
filcab accepted this revision.May 3 2016, 10:02 AM
filcab edited edge metadata.

LGTM

This revision is now accepted and ready to land.May 3 2016, 10:02 AM
This revision was automatically updated to reflect the committed changes.