[compiler-rt] r318085 - [lsan] Remove semicolon after do {} while (0)
Tom de Vries via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 13 12:59:26 PST 2017
Author: vries
Date: Mon Nov 13 12:59:26 2017
New Revision: 318085
URL: http://llvm.org/viewvc/llvm-project?rev=318085&view=rev
Log:
[lsan] Remove semicolon after do {} while (0)
Remove semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS.
Reviewed by: kcc
Modified:
compiler-rt/trunk/lib/lsan/lsan_common.cc
Modified: compiler-rt/trunk/lib/lsan/lsan_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_common.cc?rev=318085&r1=318084&r2=318085&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common.cc (original)
+++ compiler-rt/trunk/lib/lsan/lsan_common.cc Mon Nov 13 12:59:26 2017
@@ -57,12 +57,12 @@ void RegisterLsanFlags(FlagParser *parse
#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;
More information about the llvm-commits
mailing list