On Sun, Nov 05, 2017 at 11:02:32AM +0100, Tom de Vries wrote: > this removes a semicolon after "do {} while (0)" in several macro bodies in > libsanitizer. This allows the macros to be used in if-then-elses without > curly braces. > > Committed as obvious.
This is wrong, these files are copied directly from upstream, so if you want those changes, you'd need to submit it into the LLVM phabricator, get it approved there. Otherwise these changes will go away next time merge from upstream is performed. > 2017-11-02 Tom de Vries <t...@codesourcery.com> > > PR other/82784 > * asan/asan_poisoning.cc (CHECK_SMALL_REGION): Remove semicolon > after "do {} while (0)". > * lsan/lsan_common.cc (LOG_POINTERS, LOG_THREADS): Same. > > Signed-off-by: Tom de Vries <t...@codesourcery.com> > --- > libsanitizer/asan/asan_poisoning.cc | 2 +- > libsanitizer/lsan/lsan_common.cc | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) Jakub