This is fix for bug 27802: https://llvm.org/bugs/show_bug.cgi?id=27802
I have added a check to clang-tidy which refrains from putting parantheses around macros which are variadic.
Paths
| Differential D20510
[PATCH] Fix for bug 27802 misc-macro-parentheses breaks variadic macros ClosedPublic Authored by madsravn on May 21 2016, 8:24 AM.
Details Summary This is fix for bug 27802: https://llvm.org/bugs/show_bug.cgi?id=27802 I have added a check to clang-tidy which refrains from putting parantheses around macros which are variadic.
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 24 2016, 4:34 PM
Revision Contents
Diff 58042 clang-tidy/misc/MacroParenthesesCheck.cpp
test/clang-tidy/misc-macro-parentheses.cpp
|