summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-macro-parentheses.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [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