[PATCH] D39151: [tsan] Fix warnings in tsan_interceptors.cc from expansion of variadic macros

Dmitry Vyukov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 00:27:16 PDT 2017


dvyukov added a comment.

Does the same requirement present in C++11?

This fix for a warning looks too complex to me.
I have hard time understanding how it works. I afraid if I even need to modify this code. It seems to be very subtly different from what we have now because ARGS_ZERO still expands to nothing.
I would prefer if we just do what we do for all other void interceptors -- append 'int fake' argument.


https://reviews.llvm.org/D39151





More information about the llvm-commits mailing list