summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] rename_check.py {misc,bugprone}-macro-parenthesesAlexander Kornienko2018-03-151-49/+0
| | | | llvm-svn: 327606
* [clang-tidy] misc-macro-parentheses - avoid adding parentheses in variable ↵Daniel Marjamaki2016-06-081-0/+4
| | | | | | | | | | | | | | declarations Fixes bugzilla issues 26273 and 27399 Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20853 llvm-svn: 272128
* Commiting for http://reviews.llvm.org/D20365Mads Ravn2016-05-231-0/+2
| | | | llvm-svn: 270470
* [clang-tidy] Skip misc-macro-parentheses for namespaces (Fix PR27400)Vedant Kumar2016-05-171-0/+1
| | | | | | | | | If a use of a macro argument is preceded by the `namespace` keyword, do not warn that the use should be wrapped in parentheses. Patch by Mads Ravn! llvm-svn: 269786
* [clang-tidy] misc-macro-parentheses: fix fp when using object member pointersDaniel Marjamaki2015-11-101-0/+2
| | | | | | Fixes http://llvm.org/PR25208. llvm-svn: 252608
* Add %check_clang_tidy and %clang_tidy_diff.Manuel Klimek2015-10-221-1/+1
| | | | | | | | | | With this, site specific lit configs can inject parameters into the test scripts if they need site specific parameters. Next up: enable check_clang_tidy to take a resource dir to enable non-standard locations for builtin includes. llvm-svn: 251010
* [clang-tidy] Use a python script instead of a shell script to run clang-tidy ↵Alexander Kornienko2015-08-201-2/+1
| | | | | | | | | | | | | | | | | | | tests. Summary: Add check_clang_tidy.py script that is functionally identical to the check_clang_tidy.py, but should also be functional on windows. I've verified that the script works on linux. Would be nice if folks using Windows could test the patch before I break windows bots ;) Reviewers: chapuni, aaron.ballman Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D12180 llvm-svn: 245583
* [clang-tidy] Fix false positives in the macro parentheses checkerDaniel Marjamaki2015-06-291-0/+3
| | | | | | | | | | | 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-0/+2
| | | | llvm-svn: 240399
* clang-tidy: Add checker that warns about missing parentheses in macrosDaniel Marjamaki2015-06-161-0/+36
* calculations in the replacement list should be inside parentheses * macro arguments should be inside parentheses llvm-svn: 239820
OpenPOWER on IntegriCloud