Home
last modified time | relevance | path

Searched refs:MtUnsafeCheck (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/concurrency/
DMtUnsafeCheck.cpp264 template <> struct OptionEnumMapping<concurrency::MtUnsafeCheck::FunctionSet> {
266 std::pair<concurrency::MtUnsafeCheck::FunctionSet, StringRef>>
268 static constexpr std::pair<concurrency::MtUnsafeCheck::FunctionSet, in getEnumMapping()
270 Mapping[] = {{concurrency::MtUnsafeCheck::FunctionSet::Posix, "posix"}, in getEnumMapping()
271 {concurrency::MtUnsafeCheck::FunctionSet::Glibc, "glibc"}, in getEnumMapping()
272 {concurrency::MtUnsafeCheck::FunctionSet::Any, "any"}}; in getEnumMapping()
280 hasAnyMtUnsafeNames(MtUnsafeCheck::FunctionSet libc) { in hasAnyMtUnsafeNames()
282 case MtUnsafeCheck::FunctionSet::Posix: in hasAnyMtUnsafeNames()
284 case MtUnsafeCheck::FunctionSet::Glibc: in hasAnyMtUnsafeNames()
286 case MtUnsafeCheck::FunctionSet::Any: in hasAnyMtUnsafeNames()
[all …]
DMtUnsafeCheck.h22 class MtUnsafeCheck : public ClangTidyCheck {
24 MtUnsafeCheck(StringRef Name, ClangTidyContext *Context);
DConcurrencyTidyModule.cpp21 CheckFactories.registerCheck<concurrency::MtUnsafeCheck>( in addCheckFactories()
DCMakeLists.txt8 MtUnsafeCheck.cpp
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/concurrency/
DBUILD.gn17 "MtUnsafeCheck.cpp",