Go to the documentation of this file.
9 #include "../ClangTidy.h"
10 #include "../ClangTidyModule.h"
11 #include "../ClangTidyModuleRegistry.h"
30 static ClangTidyModuleRegistry::Add<mpi::MPIModule>
31 X(
"mpi-module",
"Adds MPI clang-tidy checks.");
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
This check verifies if buffer type and MPI (Message Passing Interface) datatype pairs match.
A collection of ClangTidyCheckFactory instances.
volatile int MPIModuleAnchorSource
static ClangTidyModuleRegistry::Add< bugprone::BugproneModule > X("bugprone-module", "Adds checks for bugprone code constructs.")
This check verifies if a buffer passed to an MPI (Message Passing Interface) function is sufficiently...
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.