llvm-project/clang-tools-extra/clang-tidy
Malcolm Parsons 79578cc936 [clang-tidy] Remove duplicated check from move-constructor-init
Summary:
An addition to the move-constructor-init check was duplicating the
modernize-pass-by-value check.
Remove the additional check and UseCERTSemantics option.
Run the move-constructor-init test with both checks enabled.
Fix modernize-pass-by-value false-positive when initializing a base
class.
Add option to modernize-pass-by-value to only warn about parameters
that are already values.

Reviewers: alexfh, flx, aaron.ballman

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D26453

llvm-svn: 290051
2016-12-17 20:23:14 +00:00
..
boost [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
cppcoreguidelines modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
google modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
llvm modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
misc [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
modernize [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
mpi modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
performance [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
plugin [clang-tidy] fix missing anchor for MPI Module 2016-12-16 09:14:47 +00:00
readability modernize-use-auto NFC fixes 2016-12-14 15:29:23 +00:00
tool [clang-tidy] Make format style customizable 2016-11-30 18:06:42 +00:00
utils [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
CMakeLists.txt [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
ClangTidy.cpp [clang-tidy] Make format style customizable 2016-11-30 18:06:42 +00:00
ClangTidy.h [clang-tidy] Make format style customizable 2016-11-30 18:06:42 +00:00
ClangTidyDiagnosticConsumer.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyDiagnosticConsumer.h [clang-tidy] Suppress notes for warnings that were ignored 2016-11-02 21:14:22 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
ClangTidyOptions.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
add_new_check.py [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
rename_check.py [clang-tidy] Improve rename_check.py. 2016-11-08 11:43:50 +00:00