clang-tools 22.0.0git
|
Check for thrown exceptions and enforce they are all derived from std::exception. More...
#include <ExceptionBaseclassCheck.h>
Public Member Functions | |
ExceptionBaseclassCheck (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 |
Check for thrown exceptions and enforce they are all derived from std::exception.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/hicpp/exception-baseclass.html
Definition at line 21 of file ExceptionBaseclassCheck.h.
|
inline |
Definition at line 23 of file ExceptionBaseclassCheck.h.
|
override |
Definition at line 37 of file ExceptionBaseclassCheck.cpp.
|
inlineoverride |
Definition at line 25 of file ExceptionBaseclassCheck.h.
|
override |
Definition at line 17 of file ExceptionBaseclassCheck.cpp.