This is an archive of the discontinued LLVM Phabricator instance.

[lsan] Remove semicolon after do {} while (0)
ClosedPublic

Authored by vries on Nov 8 2017, 4:55 AM.

Details

Reviewers
kcc
Summary

this patch removes a semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS. This allows the macros to be used in if-then-elses without curly braces.

[ https://gcc.gnu.org/ml/gcc-patches/2017-11/msg00298.html ]

Diff Detail

Event Timeline

vries created this revision.Nov 8 2017, 4:55 AM
kcc accepted this revision.Nov 8 2017, 8:08 AM

LGTM

This revision is now accepted and ready to land.Nov 8 2017, 8:08 AM
vries closed this revision.Nov 13 2017, 1:00 PM