clang-tools 22.0.0git
|
Finds function names that do not conform to the recommendations of the Google Objective-C Style Guide. More...
#include <FunctionNamingCheck.h>
Public Member Functions | |
FunctionNamingCheck (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 |
Finds function names that do not conform to the recommendations of the Google Objective-C Style Guide.
Function names should be in upper camel case including capitalized acronyms and initialisms. Functions that are not of static storage class must also have an appropriate prefix. The function main is an exception. Note that this check does not apply to Objective-C method or property declarations.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/google/objc-function-naming.html
Definition at line 26 of file FunctionNamingCheck.h.
|
inline |
Definition at line 28 of file FunctionNamingCheck.h.
|
override |
Definition at line 105 of file FunctionNamingCheck.cpp.
|
inlineoverride |
Definition at line 30 of file FunctionNamingCheck.h.
|
override |
Definition at line 87 of file FunctionNamingCheck.cpp.