clang-tools 22.0.0git
|
Replace dynamic exception specifications, with noexcept (or user-defined macro) or noexcept(false). More...
#include <UseNoexceptCheck.h>
Public Member Functions | |
UseNoexceptCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Replace dynamic exception specifications, with noexcept (or user-defined macro) or noexcept(false).
Is converted to:
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-noexcept.html
Definition at line 30 of file UseNoexceptCheck.h.
clang::tidy::modernize::UseNoexceptCheck::UseNoexceptCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 21 of file UseNoexceptCheck.cpp.
|
override |
Definition at line 52 of file UseNoexceptCheck.cpp.
References FuncDecl.
|
inlineoverride |
Definition at line 33 of file UseNoexceptCheck.h.
|
override |
Definition at line 31 of file UseNoexceptCheck.cpp.
References clang::tidy::modernize::isValid().
|
override |
Definition at line 26 of file UseNoexceptCheck.cpp.