The check is to find usage of.
More...
#include <AvoidThrowingObjCExceptionCheck.h>
The check is to find usage of.
- Exceptions
-
invocation | in Objective-C code. We should avoid using |
for | Objective-C exceptions according to the Google Objective-C Style Guide. |
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/google/objc-avoid-throwing-exception.html
Definition at line 22 of file AvoidThrowingObjCExceptionCheck.h.
◆ AvoidThrowingObjCExceptionCheck()
clang::tidy::google::objc::AvoidThrowingObjCExceptionCheck::AvoidThrowingObjCExceptionCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
void clang::tidy::google::objc::AvoidThrowingObjCExceptionCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ isLanguageVersionSupported()
bool clang::tidy::google::objc::AvoidThrowingObjCExceptionCheck::isLanguageVersionSupported |
( |
const LangOptions & | LangOpts | ) |
const |
|
inlineoverride |
◆ registerMatchers()
void clang::tidy::google::objc::AvoidThrowingObjCExceptionCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: