Lines Matching refs:MtUnsafeCheck
264 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()
292 MtUnsafeCheck::MtUnsafeCheck(StringRef Name, ClangTidyContext *Context) in MtUnsafeCheck() function in clang::tidy::concurrency::MtUnsafeCheck
294 FuncSet(Options.get("FunctionSet", MtUnsafeCheck::FunctionSet::Any)) {} in MtUnsafeCheck()
296 void MtUnsafeCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { in storeOptions()
300 void MtUnsafeCheck::registerMatchers(MatchFinder *Finder) { in registerMatchers()
307 void MtUnsafeCheck::check(const MatchFinder::MatchResult &Result) { in check()