|
clang-tools 22.0.0git
|
Classes | |
| class | AvoidNSObjectNewCheck |
| This check finds Objective-C code that uses +new to create object instances, or overrides +new in classes. More... | |
| class | AvoidThrowingObjCExceptionCheck |
| The check is to find usage of. More... | |
| class | FunctionNamingCheck |
| Finds function names that do not conform to the recommendations of the Google Objective-C Style Guide. More... | |
| class | GlobalVariableDeclarationCheck |
| The check for Objective-C global variables and constants naming convention. More... | |
Functions | |
| static bool | isMessageExpressionInsideMacro (const ObjCMessageExpr *Expr) |
| static bool | isInitMethodAvailable (const ObjCInterfaceDecl *ClassDecl) |
| static StringRef | getReceiverString (SourceRange ReceiverRange, const SourceManager &SM, const LangOptions &LangOpts) |
| static FixItHint | getCallFixItHint (const ObjCMessageExpr *Expr, const SourceManager &SM, const LangOptions &LangOpts) |
| static std::string | validFunctionNameRegex (bool RequirePrefix) |
| static FixItHint | generateFixItHint (const FunctionDecl *Decl) |
| For now we will only fix functions of static storage class with names like 'functionName' or 'function_name' and convert them to 'FunctionName'. | |
| static FixItHint | generateFixItHint (const VarDecl *Decl, bool IsConst) |
|
static |
For now we will only fix functions of static storage class with names like 'functionName' or 'function_name' and convert them to 'FunctionName'.
For other cases the user must determine an appropriate name on their own.
Definition at line 44 of file FunctionNamingCheck.cpp.
Referenced by clang::tidy::google::objc::FunctionNamingCheck::check(), and clang::tidy::google::objc::GlobalVariableDeclarationCheck::check().
|
static |
Definition at line 26 of file GlobalVariableDeclarationCheck.cpp.
|
static |
Definition at line 66 of file AvoidNSObjectNewCheck.cpp.
References getReceiverString(), and isInitMethodAvailable().
Referenced by clang::tidy::google::objc::AvoidNSObjectNewCheck::check().
|
static |
Definition at line 58 of file AvoidNSObjectNewCheck.cpp.
Referenced by getCallFixItHint().
|
static |
Definition at line 38 of file AvoidNSObjectNewCheck.cpp.
Referenced by getCallFixItHint().
|
static |
Definition at line 24 of file AvoidNSObjectNewCheck.cpp.
Referenced by clang::tidy::google::objc::AvoidNSObjectNewCheck::check().
|
static |
Definition at line 17 of file FunctionNamingCheck.cpp.
Referenced by clang::tidy::google::objc::FunctionNamingCheck::registerMatchers().