|
clang-tools 22.0.0git
|
Checks that non-thread-safe functions are not used. More...
#include <MtUnsafeCheck.h>
Public Types | |
| enum class | FunctionSet { Posix , Glibc , Any } |
Public Member Functions | |
| MtUnsafeCheck (StringRef Name, ClangTidyContext *Context) | |
| void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
| void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
| void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Checks that non-thread-safe functions are not used.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/concurrency/mt-unsafe.html
Definition at line 20 of file MtUnsafeCheck.h.
|
strong |
| Enumerator | |
|---|---|
| Posix | |
| Glibc | |
| Any | |
Definition at line 27 of file MtUnsafeCheck.h.
| clang::tidy::concurrency::MtUnsafeCheck::MtUnsafeCheck | ( | StringRef | Name, |
| ClangTidyContext * | Context ) |
Definition at line 289 of file MtUnsafeCheck.cpp.
References Any, and MtUnsafeCheck().
Referenced by MtUnsafeCheck().
|
override |
Definition at line 304 of file MtUnsafeCheck.cpp.
|
override |
Definition at line 297 of file MtUnsafeCheck.cpp.
References clang::tidy::concurrency::hasAnyMtUnsafeNames().
|
override |
Definition at line 293 of file MtUnsafeCheck.cpp.