This is an archive of the discontinued LLVM Phabricator instance.

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

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

Details

Reviewers
kcc
jroelofs
Summary

this removes a semicolon after "do {} while (0)" in CHECK_SMALL_REGION. This allows the macro 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:52 AM
vries added a comment.Nov 13 2017, 1:01 PM

Committed.

jroelofs accepted this revision.Nov 13 2017, 1:05 PM
jroelofs added a subscriber: jroelofs.

LGTM

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