clang-tools 22.0.0git
|
Checks whether the constructor for a static or thread_local object will throw. More...
#include <ThrowingStaticInitializationCheck.h>
Public Member Functions | |
ThrowingStaticInitializationCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Checks whether the constructor for a static or thread_local object will throw.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/throwing-static-initialization.html
Definition at line 21 of file ThrowingStaticInitializationCheck.h.
|
inline |
Definition at line 23 of file ThrowingStaticInitializationCheck.h.
|
override |
Definition at line 37 of file ThrowingStaticInitializationCheck.cpp.
|
inlineoverride |
Definition at line 25 of file ThrowingStaticInitializationCheck.h.
|
override |
Definition at line 17 of file ThrowingStaticInitializationCheck.cpp.