summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-argument-comment.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-commentAlexander Kornienko2017-11-231-55/+0
| | | | | | | | | | | | | | Summary: + manually convert the unit test to lit test. Reviewers: hokein Reviewed By: hokein Subscribers: mgorny, xazax.hun, cfe-commits Differential Revision: https://reviews.llvm.org/D40392 llvm-svn: 318926
* [clang-tidy] misc-argument-comment support for gmockAlexander Kornienko2017-02-061-56/+0
| | | | | | | | Now for real. The use case supported previously is used by approximately nobody. What's needed is support for matching argument comments in EXPECT_xxx calls to the names of parameters of the mocked methods. llvm-svn: 294193
* [clang-tidy] misc-argument-comment support for gmockAlexander Kornienko2017-02-021-0/+56
| | | | llvm-svn: 293845
* [clang-tidy] misc-argument-comment: ignore comments after argumentsAlexander Kornienko2017-02-011-0/+2
| | | | llvm-svn: 293771
* [clang-tidy] misc-argument-comment non-strict modeAlexander Kornienko2016-08-041-2/+7
| | | | | | | | | | | | | | | | | Summary: The misc-argument-comment check now ignores leading and trailing underscores and case. The new `StrictMode` local/global option can be used to switch back to strict checking. Add getLocalOrGlobal version for integral types, minor cleanups. Reviewers: hokein, aaron.ballman Subscribers: aaron.ballman, Prazek, cfe-commits Differential Revision: https://reviews.llvm.org/D23135 llvm-svn: 277729
* [clang-tidy] misc-argument-comment: don't bail out when an argument is a ↵Alexander Kornienko2016-06-081-0/+8
| | | | | | | | macro expansion (e.g. NULL). Add CHECK-FIX tests. llvm-svn: 272155
* 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] Renamed a test file to <check-name>.cpp.Alexander Kornienko2015-08-271-0/+40
llvm-svn: 246170
OpenPOWER on IntegriCloud