summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/misc/MacroParenthesesCheck.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Cleaning namespaces to be more consistant across checkers.Etienne Bergeron2016-05-021-0/+2
| | | | | | | | | | | | | | Summary: The goal of the patch is to bring checkers in their appropriate namespace. This path doesn't change any behavior. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19811 llvm-svn: 268264
* [clang-tidy] Cleanup some ast-matchers and lift some to utils.Etienne Bergeron2016-04-211-2/+2
| | | | | | | | | | | | | | | | Summary: Little cleanup to lift-out and to remove some frequently used ast-matchers. Some of theses matchers are candidates to be lifted to ASTMatchers.h. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19200 llvm-svn: 267003
* [clang-tidy] misc-macro-parentheses: fix fp when using object member pointersDaniel Marjamaki2015-11-101-1/+2
| | | | | | Fixes http://llvm.org/PR25208. llvm-svn: 252608
* [clang-tidy] Update docs for clang-tidy checks. NFCAlexander Kornienko2015-08-271-3/+3
| | | | | | | | | | | Changes mostly address formatting and unification of the style. Use MarkDown style for inline code snippets and lists. Added some text for a few checks. The idea is to move most of the documentation out to separate rST files and have implementation files refer to the corresponding documentation files. llvm-svn: 246169
* [clang-tidy] minor coding style tweak. make functions static.Daniel Marjamaki2015-07-011-5/+5
| | | | llvm-svn: 241160
* [clang-tidy] Fix false positives in the macro parentheses checkerDaniel Marjamaki2015-06-291-2/+11
| | | | | | | | | | | Summary: There were false positives in C++ code where macro argument was a type. Reviewers: alexfh Differential Revision: http://reviews.llvm.org/D10801 llvm-svn: 240938
* [clang-tidy] Fix false positives in misc-macro-parentheses checkerDaniel Marjamaki2015-06-231-3/+3
| | | | llvm-svn: 240399
* clang-tidy: Add checker that warns about missing parentheses in macrosDaniel Marjamaki2015-06-161-0/+192
* calculations in the replacement list should be inside parentheses * macro arguments should be inside parentheses llvm-svn: 239820
OpenPOWER on IntegriCloud