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

Daniel Marjamäki daniel.marjamaki at evidente.se
Thu Jun 25 00:32:29 PDT 2015


In http://reviews.llvm.org/D10644#193393, @alexfh wrote:

> 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, ...>`


thanks!

I'll look at those asap..


http://reviews.llvm.org/D10644

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list