llvm-project/clang-tools-extra/clang-tidy/cert
Aaron Ballman e0fddb4e56 Fix false positive with lambda assignments in cert-err58-cpp.
This check is about preventing exceptions from being thrown before main() executes, and assigning a lambda (rather than calling it) to a global object cannot throw any exceptions.

llvm-svn: 347761
2018-11-28 15:04:38 +00:00
..
CERTTidyModule.cpp [clang-tidy] Re-commit: Add new 'readability-uppercase-literal-suffix' check (CERT DCL16-C, MISRA C:2012, 7.3, MISRA C++:2008, 2-13-4) 2018-10-26 13:09:27 +00:00
CMakeLists.txt Reapply Logging: make os_log buffer size an integer constant expression. 2018-11-02 13:14:11 +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
DontModifyStdNamespaceCheck.cpp [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +00:00
DontModifyStdNamespaceCheck.h [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +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 Port getLocStart -> getBeginLoc 2018-08-09 22:42:26 +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
PostfixOperatorCheck.cpp [clang-tidy] Ignore matches in template instantiations (cert-dcl21-cpp) 2018-11-23 14:30:14 +00:00
PostfixOperatorCheck.h [clang-tidy] Add new cert-dcl21-cpp check 2017-05-10 11:16:55 +00:00
ProperlySeededRandomGeneratorCheck.cpp Re-commit r347419 "Update call to EvaluateAsInt() to the new syntax." 2018-11-28 14:04:26 +00:00
ProperlySeededRandomGeneratorCheck.h Add the cert-msc51-cpp and cert-msc32-c checks. 2018-07-05 01:16:31 +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 Fix false positive with lambda assignments in cert-err58-cpp. 2018-11-28 15:04:38 +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 Reapply Logging: make os_log buffer size an integer constant expression. 2018-11-02 13:14:11 +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