This is an archive of the discontinued LLVM Phabricator instance.

[PATCH] Fix for bug 27802 misc-macro-parentheses breaks variadic macros
ClosedPublic

Authored by madsravn on May 21 2016, 8:24 AM.

Details

Reviewers
flx
alexfh
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 Timeline

madsravn updated this revision to Diff 58042.May 21 2016, 8:24 AM
madsravn retitled this revision from to [PATCH] Fix for bug 27802 misc-macro-parentheses breaks variadic macros.
madsravn updated this object.
madsravn added reviewers: alexfh, flx.
madsravn added a subscriber: cfe-commits.
alexfh accepted this revision.May 24 2016, 4:34 PM
alexfh edited edge metadata.

lg

This revision is now accepted and ready to land.May 24 2016, 4:34 PM
madsravn closed this revision.May 24 2016, 10:39 PM

Code committed.