clang-tools 22.0.0git
|
The check flags destructors not marked with noexcept or marked with noexcept(expr) where expr evaluates to false (but is not a false literal itself). More...
#include <NoexceptDestructorCheck.h>
Public Member Functions | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
NoexceptFunctionBaseCheck (StringRef Name, ClangTidyContext *Context) | |
Public Member Functions inherited from clang::tidy::performance::NoexceptFunctionBaseCheck | |
NoexceptFunctionBaseCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) final override |
std::optional< TraversalKind > | getCheckTraversalKind () const override |
Additional Inherited Members | |
Static Protected Attributes inherited from clang::tidy::performance::NoexceptFunctionBaseCheck | |
static constexpr StringRef | BindFuncDeclName = "FuncDecl" |
The check flags destructors not marked with noexcept or marked with noexcept(expr) where expr evaluates to false (but is not a false literal itself).
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/performance/noexcept-destructor.html
Definition at line 23 of file NoexceptDestructorCheck.h.
|
inline |
Definition at line 24 of file NoexceptFunctionBaseCheck.h.
|
override |
Definition at line 19 of file NoexceptDestructorCheck.cpp.
References clang::tidy::performance::NoexceptFunctionBaseCheck::BindFuncDeclName.