summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-tidy/misc-move-constructor-init.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make isExpensiveToCopy() tri-state.Manuel Klimek2015-10-231-5/+0
| | | | | | This allows returning "don't know" for dependent types. llvm-svn: 251103
* Switch check_clang_tidy to argparse and add a -resource-dir argument.Manuel Klimek2015-10-221-1/+1
| | | | | | | -resource-dir can be used to inject non-standard resource dirs via the lit site config. llvm-svn: 251021
* 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
* Improved the misc-move-constructor-init check to identify arguments that are ↵Aaron Ballman2015-10-061-78/+145
| | | | | | | | passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit. Patch by Felix Berger! llvm-svn: 249429
* Change the test to use the new python script instead of the more verbose RUN ↵Aaron Ballman2015-08-201-5/+5
| | | | | | line. llvm-svn: 245600
* Add a new clang-tidy check (misc-move-constructor-init) that diagnoses move ↵Aaron Ballman2015-08-201-0/+78
constructor initializations that call copy constructors instead of move constructors. llvm-svn: 245571
OpenPOWER on IntegriCloud