llvm-project/clang-tools-extra/docs/clang-tidy/checks
Alexander Droste 1512f9a0f9 [clang-tidy] MPIBufferDerefCheck
...
This check verifies if a buffer passed to an MPI (Message Passing Interface)
function is sufficiently dereferenced. Buffers should be passed as a single
pointer or array. As MPI function signatures specify void * for their buffer
types, insufficiently dereferenced buffers can be passed, like for example
as double pointers or multidimensional arrays, without a compiler warning
emitted.

Instructions on how to apply the check can be found at:
https://github.com/0ax1/MPI-Checker/tree/master/examples

Reviewers: Haojian Wu
Differential revision: https://reviews.llvm.org/D22729

llvm-svn: 278553
2016-08-12 19:30:31 +00:00
..
boost-use-to-string.rst Add boost-use-to-string 2016-04-29 17:58:29 +00:00
cert-dcl03-c.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-dcl50-cpp.rst Renaming CERT documentation files to use the CERT rule identifiers. This is for consistency with other checkers, where the documentation file name matches the checker name. NFC of the checkers. 2015-12-27 19:14:55 +00:00
cert-dcl54-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-dcl59-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-env33-c.rst 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
cert-err34-c.rst 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
cert-err52-cpp.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cert-err58-cpp.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cert-err60-cpp.rst Renaming CERT documentation files to use the CERT rule identifiers. This is for consistency with other checkers, where the documentation file name matches the checker name. NFC of the checkers. 2015-12-27 19:14:55 +00:00
cert-err61-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-fio38-c.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cert-flp30-c.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cert-oop11-cpp.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
cppcoreguidelines-interfaces-global-init.rst [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-bounds-constant-array-index.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-const-cast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-cstyle-cast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-member-init.rst [clang-tidy] cppcoreguidelines-pro-type-member-init should not complain about static variables 2016-04-28 20:20:01 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-static-cast-downcast.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-union-access.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-pro-type-vararg.rst [clang-tidy] Fix documentation. 2016-01-27 11:37:19 +00:00
cppcoreguidelines-slicing.rst [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
cppcoreguidelines-special-member-functions.rst [clang-tidy] add check cppcoreguidelines-special-member-functions 2016-07-30 08:58:54 +00:00
google-build-explicit-make-pair.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-build-namespaces.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-build-using-namespace.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-default-arguments.rst [clang-tidy] new google-default-arguments check 2016-05-09 13:43:58 +00:00
google-explicit-constructor.rst [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
google-global-names-in-headers.rst [clang-tidy] Fix/add style guide links. 2016-05-19 09:31:30 +00:00
google-readability-braces-around-statements.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-casting.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-function-size.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-readability-namespace-comments.rst [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
google-readability-redundant-smartptr-get.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
google-readability-todo.rst [clang-tidy] Fix/add style guide links. 2016-05-19 09:31:30 +00:00
google-runtime-int.rst [clang-tidy] Fix/add style guide links. 2016-05-19 09:31:30 +00:00
google-runtime-member-string-references.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-runtime-memset.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-runtime-operator.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
google-runtime-references.rst [clang-tidy] Fix doc titles. 2016-05-19 09:29:46 +00:00
list.rst [clang-tidy] MPIBufferDerefCheck 2016-08-12 19:30:31 +00:00
llvm-header-guard.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
llvm-include-order.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
llvm-namespace-comment.rst [clang-tidy] update links to Google Code Style in docs 2016-02-25 14:31:10 +00:00
llvm-twine-local.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-argument-comment.rst [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
misc-assert-side-effect.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-bool-pointer-implicit-conversion.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-dangling-handle.rst Update release notes with list of checks added since 3.8. 2016-03-31 23:09:42 +00:00
misc-definitions-in-headers.rst [clang-tidy] Add more descriptive comments and examples in misc-definitions-in-headers check. 2016-05-20 09:38:25 +00:00
misc-fold-init-type.rst [Release notes] Mention Clang-tidy misc-fold-init-type check. 2016-04-26 17:54:00 +00:00
misc-forward-declaration-namespace.rst Fix two minor syntax issues in the documentation 2016-03-03 20:54:26 +00:00
misc-inaccurate-erase.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-incorrect-roundings.rst [clang-tidy] Fix doc titles. 2016-05-19 09:29:46 +00:00
misc-inefficient-algorithm.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-macro-parentheses.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-macro-repeated-side-effects.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-misplaced-const.rst [Clang-tidy] Documentation style consistency. 2016-06-07 18:29:15 +00:00
misc-misplaced-widening-cast.rst [clang-tidy] Extension of checker misc-misplaced-widening-cast 2016-04-06 12:04:51 +00:00
misc-move-const-arg.rst [clang-tidy] misc-move-const-arg: Detect if result of std::move() is being passed as a const ref argument 2016-06-16 14:32:41 +00:00
misc-move-constructor-init.rst [clang-tidy] Fixed wording ("clang-tidy check", not "clang-tidy checker") 2016-01-18 22:51:09 +00:00
misc-multiple-statement-macro.rst [clang-tidy] Add check misc-multiple-statement-macro 2016-04-14 21:15:57 +00:00
misc-new-delete-overloads.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-noexcept-move-constructor.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-non-copyable-objects.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-pointer-and-integral-operation.rst [clang-tidy] Add checker for operations between integrals and pointers 2016-04-15 16:31:15 +00:00
misc-redundant-expression.rst [clang-tidy] Improve misc-redundant-expression and decrease false-positive 2016-05-12 04:32:47 +00:00
misc-sizeof-container.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-sizeof-expression.rst [clang-tidy] Add new checker for suspicious sizeof expressions 2016-04-15 16:36:00 +00:00
misc-static-assert.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-string-constructor.rst [Release Notes] Mention Clang-tidy misc-string-constructor and misc-suspicious-string-compare checks. 2016-04-21 18:13:09 +00:00
misc-string-integer-assignment.rst fix some minor typos in the doc 2016-03-03 20:57:16 +00:00
misc-string-literal-with-embedded-nul.rst [clang-tidy] add new checker for string literal with NUL character. 2016-04-07 16:16:36 +00:00
misc-suspicious-missing-comma.rst [clang-tidy] Fix documentation of misc-suspicious-missing-comma 2016-04-05 01:41:02 +00:00
misc-suspicious-semicolon.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-suspicious-string-compare.rst [clang-tidy] Add new checker for comparison with runtime string functions. 2016-04-21 17:19:36 +00:00
misc-swapped-arguments.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-throw-by-value-catch-by-reference.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-unconventional-assign-operator.rst [Clang-tidy] Alphabetical checks order in release notes. 2016-06-07 18:38:42 +00:00
misc-undelegated-constructor.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-uniqueptr-reset-release.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-unused-alias-decls.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-unused-parameters.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
misc-unused-raii.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
misc-unused-using-decls.rst Initial version of misc-unused-using-decl check. 2016-04-19 13:48:39 +00:00
misc-virtual-near-miss.rst [clang-tidy] Fix doc titles. 2016-05-19 09:29:46 +00:00
modernize-avoid-bind.rst Fix docs 2016-05-20 22:42:03 +00:00
modernize-deprecated-headers.rst [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
modernize-loop-convert.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
modernize-make-shared.rst [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
modernize-make-unique.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-pass-by-value.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
modernize-raw-string-literal.rst clang-tidy: Add check modernize-raw-string-literal 2016-03-27 16:43:44 +00:00
modernize-redundant-void-arg.rst [clang-tidy] Added documentation for modernize-redundant-void-arg 2015-12-22 18:13:00 +00:00
modernize-replace-auto-ptr.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-shrink-to-fit.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-use-auto.rst [clang-tidy] modernize-use-auto: don't remove stars by default 2016-06-03 21:22:58 +00:00
modernize-use-bool-literals.rst [clang-tidy] enhance modernize-use-bool-literals to check ternary operator 2016-08-08 17:11:56 +00:00
modernize-use-default.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-use-emplace.rst [clang-tidy] address concerns with rL277340 2016-08-03 06:54:24 +00:00
modernize-use-nullptr.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
modernize-use-override.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
modernize-use-using.rst [clang-tidy] Add modernize-use-using 2016-06-25 18:37:53 +00:00
mpi-buffer-deref.rst [clang-tidy] MPIBufferDerefCheck 2016-08-12 19:30:31 +00:00
mpi-type-mismatch.rst [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
performance-faster-string-find.rst Update release notes with list of checks added since 3.8. 2016-03-31 23:09:42 +00:00
performance-for-range-copy.rst Improve documentation 2016-02-15 03:27:54 +00:00
performance-implicit-cast-in-loop.rst [clang-tidy] Fix doc titles. 2016-05-19 09:29:46 +00:00
performance-inefficient-string-concatenation.rst [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
performance-unnecessary-copy-initialization.rst Add check for unneeded copies of locals 2016-03-23 09:33:07 +00:00
performance-unnecessary-value-param.rst [clang-tidy] UnnecessaryValueParamCheck - suggest std::move() if non-const value parameter can be moved. 2016-07-01 20:12:15 +00:00
readability-avoid-const-params-in-decls.rst [clang-tidy] readability check for const params in declarations 2016-03-30 11:31:33 +00:00
readability-braces-around-statements.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-container-size-empty.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
readability-deleted-default.rst [clang-tidy] Fix documentation generation. 2016-04-14 16:08:04 +00:00
readability-else-after-return.rst [Documentation] Fix style and grammar mistake in Clang-tidy readability-else-after-return description spotted by Alexander Kornienko. 2016-08-10 19:49:38 +00:00
readability-function-size.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-identifier-naming.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-implicit-bool-cast.rst fix some minor typos in the doc 2016-03-03 20:57:16 +00:00
readability-inconsistent-declaration-parameter-name.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
readability-named-parameter.rst [Clang-tidy] Improve checks documentation consistency. 2016-04-02 01:07:18 +00:00
readability-redundant-control-flow.rst Update release notes with list of checks added since 3.8. 2016-03-31 23:09:42 +00:00
readability-redundant-smartptr-get.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
readability-redundant-string-cstr.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00
readability-redundant-string-init.rst Remove a blank line at EOF. NFC 2016-02-25 23:57:30 +00:00
readability-simplify-boolean-expr.rst fix an indent issue in the doc which causes sphinx to fail with some versions 2016-02-15 20:38:54 +00:00
readability-static-definition-in-anonymous-namespace.rst [clang-tidy] fix building clang-tidy documentation. 2016-04-06 13:57:22 +00:00
readability-uniqueptr-delete-release.rst [clang-tidy] Updates to documentation: formatting, titles, etc. 2015-12-22 17:36:49 +00:00