hanchenye-llvm-project/clang-tools-extra/clang-tidy/cert
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
..
CERTTidyModule.cpp [clang-tidy] Remove duplicated check from move-constructor-init 2016-12-17 20:23:14 +00:00
CMakeLists.txt Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
CommandProcessorCheck.cpp
CommandProcessorCheck.h
FloatLoopCounter.cpp
FloatLoopCounter.h
LICENSE.TXT
LimitedRandomnessCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
LimitedRandomnessCheck.h Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
SetLongJmpCheck.cpp
SetLongJmpCheck.h
StaticObjectExceptionCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
StaticObjectExceptionCheck.h
StrToNumCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
StrToNumCheck.h
ThrownExceptionTypeCheck.cpp
ThrownExceptionTypeCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
VariadicFunctionDefCheck.cpp
VariadicFunctionDefCheck.h