[PATCH] [sanitizer] Introduce VerboseReport and use it in sanitizer code.
Kostya Serebryany
kcc at google.com
Thu Dec 5 03:57:31 PST 2013
================
Comment at: lib/sanitizer_common/sanitizer_common.h:134
@@ +133,3 @@
+ if ((uptr)common_flags()->verbosity >= level) Report(__VA_ARGS__); \
+ } while (0);
+#define VPrintf(level, ...) \
----------------
You don't want ';' at the end (next macro too)
use "(level)" instead of "level"
http://llvm-reviews.chandlerc.com/D2316
More information about the llvm-commits
mailing list