[PATCH] clang-tidy checker that enforce proper parentheses in macros

Daniel Marjamäki daniel.marjamaki at evidente.se
Wed May 27 01:32:04 PDT 2015


Updated patch:

- Added fixits
- Tweaked code comments
- Avoid FP when argument is surrounded with semicolon  ;X;


http://reviews.llvm.org/D9528

Files:
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MacroParenthesesCheck.cpp
  clang-tidy/misc/MacroParenthesesCheck.h
  clang-tidy/misc/MiscTidyModule.cpp
  test/clang-tidy/misc-macro-parentheses.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9528.26579.patch
Type: text/x-patch
Size: 11577 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150527/5ae754cb/attachment.bin>


More information about the cfe-commits mailing list