9#include "../ClangTidy.h"
10#include "../ClangTidyModule.h"
11#include "../ClangTidyModuleRegistry.h"
16namespace concurrency {
22 "concurrency-mt-unsafe");
24 "concurrency-thread-canceltype-asynchronous");
31static ClangTidyModuleRegistry::Add<concurrency::ConcurrencyModule>
32 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