#include "MtUnsafeCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
usingnamespaceclang::ast_matchers;
static const clang::StringRef GlibcFunctions[] = …;
static const clang::StringRef PosixFunctions[] = …;
namespace clang::tidy {
template <> struct OptionEnumMapping<concurrency::MtUnsafeCheck::FunctionSet> { … };
namespace concurrency {
static ast_matchers::internal::Matcher<clang::NamedDecl>
hasAnyMtUnsafeNames(MtUnsafeCheck::FunctionSet Libc) { … }
MtUnsafeCheck::MtUnsafeCheck(StringRef Name, ClangTidyContext *Context)
: … { … }
void MtUnsafeCheck::storeOptions(ClangTidyOptions::OptionMap &Opts) { … }
void MtUnsafeCheck::registerMatchers(MatchFinder *Finder) { … }
void MtUnsafeCheck::check(const MatchFinder::MatchResult &Result) { … }
}
}