From: Tom de Vries Date: Mon, 13 Nov 2017 20:59:26 +0000 (+0000) Subject: [lsan] Remove semicolon after do {} while (0) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66b43dcab57fea54633d1af25925d17b6cbe78c8;p=platform%2Fupstream%2Fllvm.git [lsan] Remove semicolon after do {} while (0) Remove semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS. Reviewed by: kcc llvm-svn: 318085 --- diff --git a/compiler-rt/lib/lsan/lsan_common.cc b/compiler-rt/lib/lsan/lsan_common.cc index 651bbe1..69ffda5 100644 --- a/compiler-rt/lib/lsan/lsan_common.cc +++ b/compiler-rt/lib/lsan/lsan_common.cc @@ -57,12 +57,12 @@ void RegisterLsanFlags(FlagParser *parser, Flags *f) { #define LOG_POINTERS(...) \ do { \ if (flags()->log_pointers) Report(__VA_ARGS__); \ - } while (0); + } while (0) #define LOG_THREADS(...) \ do { \ if (flags()->log_threads) Report(__VA_ARGS__); \ - } while (0); + } while (0) ALIGNED(64) static char suppression_placeholder[sizeof(SuppressionContext)]; static SuppressionContext *suppression_ctx = nullptr;