[PATCH] D20853: [clang-tidy] misc-macro-parentheses: Don't insert parentheses in variable declarations. Fixes bugzilla 26273

Daniel Marjamäki via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 1 03:42:38 PDT 2016


danielmarjamaki added a comment.

> The "possibleVarDecl" could be much more clever. For instance, variable declarations can at least contain :: < & also, I could handle those better also but that would mean more false negatives.


I now saw bugzilla 27399 also.

I do need to handle templates also.

so I will send a new patch with updated possibleVarDecl().


Repository:
  rL LLVM

http://reviews.llvm.org/D20853





More information about the cfe-commits mailing list