22 "concurrency-mt-unsafe");
24 "concurrency-thread-canceltype-asynchronous");
32static ClangTidyModuleRegistry::Add<concurrency::ConcurrencyModule>
33 X(
"concurrency-module",
"Adds concurrency checks.");
A collection of ClangTidyCheckFactory instances.
void registerCheck(llvm::StringRef CheckName)
Registers the CheckType with the name Name.
A clang-tidy module groups a number of ClangTidyChecks and gives them a prefixed name.
void addCheckFactories(ClangTidyCheckFactories &CheckFactories) override
Implement this function in order to register all CheckFactories belonging to this module.
Checks that non-thread-safe functions are not used.
Finds pthread_setcanceltype function calls where a thread's cancellation type is set to asynchronous.
volatile int ConcurrencyModuleAnchorSource
static ClangTidyModuleRegistry::Add< altera::AlteraModule > X("altera-module", "Adds Altera FPGA OpenCL lint checks.")