|
clang-tools 23.0.0git
|
Finds functions where throwing exceptions is unsafe but the function is still marked as potentially throwing. More...
#include <UnsafeToAllowExceptionsCheck.h>
Public Member Functions | |
| UnsafeToAllowExceptionsCheck (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 |
Finds functions where throwing exceptions is unsafe but the function is still marked as potentially throwing.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/unsafe-to-allow-exceptions.html
Definition at line 21 of file UnsafeToAllowExceptionsCheck.h.
| clang::tidy::bugprone::UnsafeToAllowExceptionsCheck::UnsafeToAllowExceptionsCheck | ( | StringRef | Name, |
| ClangTidyContext * | Context ) |
Definition at line 25 of file UnsafeToAllowExceptionsCheck.cpp.
|
override |
Definition at line 50 of file UnsafeToAllowExceptionsCheck.cpp.
|
inlineoverride |
Definition at line 24 of file UnsafeToAllowExceptionsCheck.h.
|
override |
Definition at line 37 of file UnsafeToAllowExceptionsCheck.cpp.
|
override |
Definition at line 31 of file UnsafeToAllowExceptionsCheck.cpp.
References clang::tidy::utils::options::serializeStringList().