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 Add a new check, cert-env33-c, that diagnoses uses of system(), popen(), and _popen() to execute a command processor. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=2130132 2016-02-22 16:01:06 +00:00
CommandProcessorCheck.h Add a new check, cert-env33-c, that diagnoses uses of system(), popen(), and _popen() to execute a command processor. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=2130132 2016-02-22 16:01:06 +00:00
FloatLoopCounter.cpp Add a new check, cert-flp30-c, that diagnoses loop induction expressions of floating-point type. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variables+as+loop+counters 2016-02-19 14:03:20 +00:00
FloatLoopCounter.h Add a new check, cert-flp30-c, that diagnoses loop induction expressions of floating-point type. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variables+as+loop+counters 2016-02-19 14:03:20 +00:00
LICENSE.TXT [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
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 Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00
SetLongJmpCheck.h Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00
StaticObjectExceptionCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
StaticObjectExceptionCheck.h Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00
StrToNumCheck.cpp [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
StrToNumCheck.h Add a clang-tidy check that flags string-to-number conversion functions that have insufficient error checking, suggesting a better alternative. 2016-04-29 20:56:48 +00:00
ThrownExceptionTypeCheck.cpp [ASTMatchers] Added ignoringParenImpCasts to has matchers 2016-05-31 15:26:56 +00:00
ThrownExceptionTypeCheck.h [clang-tools-extra] Format sources with clang-format. NFC. 2016-11-08 07:50:19 +00:00
VariadicFunctionDefCheck.cpp Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00
VariadicFunctionDefCheck.h Rename the CERT namespace to cert, and update some checkers to use this namespace consistently. 2016-01-04 14:31:14 +00:00