llvm-project/clang-tools-extra/docs/clang-tidy/checks
Aaron Ballman 5a786ddf4c Add a new clang-tidy checker that flags throw expressions whose thrown type is not nothrow copy constructible. While the compiler is free to elide copy constructor calls in some cases, it is under no obligation to do so, which makes the code a portability concern as well as a security concern.
This checker corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/ERR60-CPP.+Exception+objects+must+be+nothrow+copy+constructible

llvm-svn: 253246
2015-11-16 19:17:43 +00:00
..
cert-setlongjmp.rst Rewording some of this documentation to describe the check instead of try to rationalize the behavior of the check. The links already provide sufficient rationale. 2015-11-09 18:04:34 +00:00
cert-thrown-exception-type.rst Add a new clang-tidy checker that flags throw expressions whose thrown type is not nothrow copy constructible. While the compiler is free to elide copy constructor calls in some cases, it is under no obligation to do so, which makes the code a portability concern as well as a security concern. 2015-11-16 19:17:43 +00:00
cert-variadic-function-def.rst Rewording some of this documentation to describe the check instead of try to rationalize the behavior of the check. The links already provide sufficient rationale. 2015-11-09 18:04:34 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.rst [clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay 2015-10-26 21:56:02 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic.rst [clang-tidy] new check cppcoreguidelines-pro-bounds-pointer-arithmetic 2015-10-12 21:53:19 +00:00
cppcoreguidelines-pro-type-const-cast.rst Add checker for the C++ Core Guidelines: cppcoreguidelines-pro-type-const-cast. 2015-10-07 12:24:57 +00:00
cppcoreguidelines-pro-type-cstyle-cast.rst [clang-tidy] add new check cppcoreguidelines-pro-type-cstyle-cast 2015-11-08 21:10:39 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.rst Add a new module for the C++ Core Guidelines, and the first checker for those guidelines: cppcoreguidelines-pro-type-reinterpret-cast. 2015-10-06 13:31:00 +00:00
cppcoreguidelines-pro-type-static-cast-downcast.rst [clang-tidy] add check cppcoreguidelines-pro-type-static-cast-downcast 2015-10-12 20:46:53 +00:00
cppcoreguidelines-pro-type-union-access.rst [clang-tidy] add check cppcoreguidelines-pro-type-union-access 2015-10-16 18:46:30 +00:00
cppcoreguidelines-pro-type-vararg.rst [clang-tidy] add check cppcoreguidelines-pro-type-vararg 2015-10-21 20:09:02 +00:00
google-build-explicit-make-pair.rst [clang-tidy] Removed a stray empty line in the docs. 2015-09-28 08:52:55 +00:00
google-build-namespaces.rst
google-build-using-namespace.rst
google-explicit-constructor.rst
google-global-names-in-headers.rst
google-readability-braces-around-statements.rst
google-readability-casting.rst
google-readability-function-size.rst
google-readability-namespace-comments.rst
google-readability-redundant-smartptr-get.rst
google-readability-todo.rst
google-runtime-int.rst [clang-tidy] Added a style guide link. 2015-09-16 13:54:16 +00:00
google-runtime-member-string-references.rst
google-runtime-memset.rst
google-runtime-operator.rst
list.rst Add a new clang-tidy checker that flags throw expressions whose thrown type is not nothrow copy constructible. While the compiler is free to elide copy constructor calls in some cases, it is under no obligation to do so, which makes the code a portability concern as well as a security concern. 2015-11-16 19:17:43 +00:00
llvm-header-guard.rst
llvm-include-order.rst
llvm-namespace-comment.rst
llvm-twine-local.rst
misc-argument-comment.rst
misc-assert-side-effect.rst
misc-assign-operator-signature.rst
misc-bool-pointer-implicit-conversion.rst
misc-inaccurate-erase.rst
misc-inefficient-algorithm.rst
misc-macro-parentheses.rst
misc-macro-repeated-side-effects.rst
misc-move-constructor-init.rst Improved the misc-move-constructor-init check to identify arguments that are passed by value but copy assigned to class data members when the non-deleted move constructor is a better fit. 2015-10-06 16:27:03 +00:00
misc-new-delete-overloads.rst Adding a checker (misc-new-delete-overloads) that detects mismatched overloads of operator new and operator delete. Corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/DCL54-CPP.+Overload+allocation+and+deallocation+functions+as+a+pair+in+the+same+scope 2015-09-29 13:12:21 +00:00
misc-noexcept-move-constructor.rst
misc-non-copyable-objects.rst Adding a checker (misc-non-copyable-objects) that detects situations where a non-copyable C type is being dereferenced, such as FILE or pthread_mutex_t. Corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FIO38-C.+Do+not+copy+a+FILE+object 2015-09-30 14:09:38 +00:00
misc-sizeof-container.rst [clang-tidy] updated misc-sizeof-container docs. 2015-09-14 16:56:57 +00:00
misc-static-assert.rst
misc-swapped-arguments.rst
misc-throw-by-value-catch-by-reference.rst Added documentation for misc-throw-by-value-catch-by-reference. 2015-10-12 12:57:55 +00:00
misc-undelegated-constructor.rst
misc-uniqueptr-reset-release.rst
misc-unused-alias-decls.rst
misc-unused-parameters.rst
misc-unused-raii.rst [clang-tidy] Updated misc-unused-raii documentation. 2015-09-25 17:50:11 +00:00
modernize-loop-convert.rst Replace references to "transform" with references to "check" where neccessary in the documentation. 2015-09-21 12:53:30 +00:00
modernize-make-unique.rst Update clang-tidy documentation. 2015-10-01 14:50:40 +00:00
modernize-pass-by-value.rst Replace references to "transform" with references to "check" where neccessary in the documentation. 2015-09-21 12:53:30 +00:00
modernize-replace-auto-ptr.rst Replace references to "transform" with references to "check" where neccessary in the documentation. 2015-09-21 12:53:30 +00:00
modernize-shrink-to-fit.rst [clang-tidy] Updated the check name in the doc. 2015-09-02 12:01:51 +00:00
modernize-use-auto.rst Update clang-tidy documentation. 2015-10-01 14:50:40 +00:00
modernize-use-default.rst Add modernize-use-default check to clang-tidy. 2015-10-21 12:58:15 +00:00
modernize-use-nullptr.rst Replace references to "transform" with references to "check" where neccessary in the documentation. 2015-09-21 12:53:30 +00:00
modernize-use-override.rst
readability-braces-around-statements.rst
readability-container-size-empty.rst
readability-else-after-return.rst
readability-function-size.rst
readability-identifier-naming.rst
readability-implicit-bool-cast.rst [clang-tidy] Add check readability-implicit-bool-cast 2015-10-25 15:31:25 +00:00
readability-inconsistent-declaration-parameter-name.rst Updating the documentation for the readability-inconsistent-declaration-parameter-name checker. 2015-10-13 18:13:10 +00:00
readability-named-parameter.rst
readability-redundant-smartptr-get.rst
readability-redundant-string-cstr.rst
readability-simplify-boolean-expr.rst
readability-uniqueptr-delete-release.rst Added check uniqueptr-delete-release to replace "delete x.release()" with "x = nullptr" 2015-10-19 21:49:51 +00:00