projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a917072
)
[lsan] Remove semicolon after do {} while (0)
author
Tom de Vries
<vries@codesourcery.com>
Mon, 13 Nov 2017 20:59:26 +0000
(20:59 +0000)
committer
Tom de Vries
<vries@codesourcery.com>
Mon, 13 Nov 2017 20:59:26 +0000
(20:59 +0000)
Remove semicolon after "do {} while (0)" in LOG_POINTERS and LOG_THREADS.
Reviewed by: kcc
llvm-svn: 318085
compiler-rt/lib/lsan/lsan_common.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/lsan/lsan_common.cc
b/compiler-rt/lib/lsan/lsan_common.cc
index
651bbe1
..
69ffda5
100644
(file)
--- 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;