|
clang-tools 22.0.0git
|
This check verifies if buffer type and MPI (Message Passing Interface) datatype pairs match. More...
#include <TypeMismatchCheck.h>
Public Member Functions | |
| TypeMismatchCheck (StringRef Name, ClangTidyContext *Context) | |
| void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
| void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
| void | onEndOfTranslationUnit () override |
This check verifies if buffer type and MPI (Message Passing Interface) datatype pairs match.
All MPI datatypes defined by the MPI standard (3.1) are verified by this check. User defined typedefs, custom MPI datatypes and null pointer constants are skipped, in the course of verification.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/mpi/type-mismatch.html
Definition at line 26 of file TypeMismatchCheck.h.
|
inline |
Definition at line 28 of file TypeMismatchCheck.h.
|
override |
Definition at line 239 of file TypeMismatchCheck.cpp.
References clang::tidy::mpi::argumentType(), and clang::tidy::mpi::isStandardMPIDatatype().
|
override |
Definition at line 330 of file TypeMismatchCheck.cpp.
|
override |
Definition at line 235 of file TypeMismatchCheck.cpp.