clang-tools 6.0.0

Namespaces | Functions
TypeMismatchCheck.cpp File Reference
`#include "TypeMismatchCheck.h"`
`#include "clang/Lex/Lexer.h"`
`#include "clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h"`
`#include "clang/Tooling/FixIt.h"`
`#include <map>`
`#include <unordered_set>`
Include dependency graph for TypeMismatchCheck.cpp:

Go to the source code of this file.

## Namespaces
| clang
| clang::tidy
| clang::tidy::mpi

## Functions
static bool | clang::tidy::mpi::isMPITypeMatching (const std::multimap< BuiltinType::Kind, std::string > &MultiMap, const BuiltinType::Kind Kind, const std::string &MPIDatatype)
| Check if a BuiltinType::Kind matches the MPI datatype. More...
static bool | clang::tidy::mpi::isStandardMPIDatatype (const std::string &MPIDatatype)
| Check if the MPI datatype is a standard type. More...
static bool | clang::tidy::mpi::isBuiltinTypeMatching (const BuiltinType *Builtin, std::string &BufferTypeName, const std::string &MPIDatatype, const LangOptions &LO)
| Check if a BuiltinType matches the MPI datatype. More...
static bool | clang::tidy::mpi::isCComplexTypeMatching (const ComplexType *const Complex, std::string &BufferTypeName, const std::string &MPIDatatype, const LangOptions &LO)
| Check if a complex float/double/long double buffer type matches the MPI datatype. More...
static bool | clang::tidy::mpi::isCXXComplexTypeMatching (const TemplateSpecializationType *const Template, std::string &BufferTypeName, const std::string &MPIDatatype, const LangOptions &LO)
| Check if a complex<float/double/long double> templated buffer type matches the MPI datatype. More...
static bool | clang::tidy::mpi::isTypedefTypeMatching (const TypedefType *const Typedef, std::string &BufferTypeName, const std::string &MPIDatatype)
| Check if a fixed size width buffer type matches the MPI datatype. More...
static const Type * | clang::tidy::mpi::argumentType (const CallExpr *const CE, const size_t idx)
| Get the unqualified, dereferenced type of an argument. More...