[PATCH] fix false positives in clang-tidy macro parentheses checker

Alexander Kornienko alexfh at google.com
Tue Jun 23 17:58:18 PDT 2015


BTW, I found a couple of related issues:

1. When a parameter is used as a type or a namespace qualifier: `#define
X(type) type::Field`
2. When a parameter is used as a type parameter of a template: `#define
X(t) std::set<t> s; ...` or `#define X(t) some_template<..., t, ...>`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150624/7996606f/attachment.html>


More information about the cfe-commits mailing list