llvm-project/clang-tools-extra/clang-tidy
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 [clang-tidy] boost-use-to-string arg expr location bugfix 2016-06-28 08:16:20 +00:00
cert [clang-tidy] remove trailing whitespaces and retab 2016-08-01 12:06:18 +00:00
cppcoreguidelines [clang-tidy] Fix segfault in cppcore-guidelines-special-member-functions check 2016-08-02 21:18:37 +00:00
google Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
llvm Analyze include order on a per-file basis. 2016-08-12 18:38:26 +00:00
misc [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
modernize [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
mpi [clang-tidy] MPIBufferDerefCheck 2016-08-12 19:30:31 +00:00
performance [clang-tidy] Inefficient string operation 2016-08-03 23:06:03 +00:00
plugin [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
readability [clang-tidy] enhance readability-else-after-return 2016-08-10 18:05:47 +00:00
tool [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
utils [clang-tidy] Fixes to modernize-use-emplace 2016-07-29 02:10:23 +00:00
CMakeLists.txt [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
ClangTidy.cpp Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidy.h [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
ClangTidyDiagnosticConsumer.cpp Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidyDiagnosticConsumer.h Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
ClangTidyModule.cpp Apply performance-unnecessary-value-param to clang-tidy. 2016-06-15 15:46:10 +00:00
ClangTidyModule.h Revert "Apply modernize-use-default to clang-tools-extra." 2015-10-20 21:45:52 +00:00
ClangTidyModuleRegistry.h Reapply r276973 "Adjust Registry interface to not require plugins to export a registry" 2016-08-05 11:01:08 +00:00
ClangTidyOptions.cpp [clang-tidy] Pass absolute path to OptionsProvider::getOptions/getRawOptions. 2016-07-11 07:47:04 +00:00
ClangTidyOptions.h [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +00:00
add_new_check.py [clang-tidy] Remove redundant quote in add_new_check script 2016-05-30 15:42:08 +00:00
rename_check.py [clang-tidy] Python script for easy check rename 2015-10-11 07:58:34 +00:00