diff options
author | Tom de Vries <vries@codesourcery.com> | 2017-11-13 20:59:26 +0000 |
---|---|---|
committer | Tom de Vries <vries@codesourcery.com> | 2017-11-13 20:59:26 +0000 |
commit | 926775ab12bcadd24c45b253617378d79974ddb2 (patch) | |
tree | 7d95408b2b00aeeb6ab4e082bac92ccc7fc0edcd /lib/lsan | |
parent | f9d1ad5cb9ba0982a899efc7695933ded63cf612 (diff) |
[lsan] Remove semicolon after do {} while (0)
Remove semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS.
Reviewed by: kcc
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan')
-rw-r--r-- | lib/lsan/lsan_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsan/lsan_common.cc b/lib/lsan/lsan_common.cc index 651bbe1f3..69ffda539 100644 --- a/lib/lsan/lsan_common.cc +++ b/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; |