clang-tools 22.0.0git
|
This check will warn on calls to std::uncaught_exception and replace them with calls to std::uncaught_exceptions, since std::uncaught_exception was deprecated in C++17. More...
#include <UseUncaughtExceptionsCheck.h>
Public Member Functions | |
UseUncaughtExceptionsCheck (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 |
This check will warn on calls to std::uncaught_exception and replace them with calls to std::uncaught_exceptions, since std::uncaught_exception was deprecated in C++17.
In case of macro ID there will be only a warning without fixits.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-uncaught-exceptions.html
Definition at line 23 of file UseUncaughtExceptionsCheck.h.
|
inline |
Definition at line 25 of file UseUncaughtExceptionsCheck.h.
|
override |
Definition at line 48 of file UseUncaughtExceptionsCheck.cpp.
|
inlineoverride |
Definition at line 27 of file UseUncaughtExceptionsCheck.h.
|
override |
Definition at line 17 of file UseUncaughtExceptionsCheck.cpp.