clang-tools 22.0.0git
FunctionNamingCheck.cpp File Reference
#include "FunctionNamingCheck.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "llvm/Support/Regex.h"

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::google
namespace  clang::tidy::google::objc

Functions

static std::string clang::tidy::google::objc::validFunctionNameRegex (bool RequirePrefix)
static FixItHint clang::tidy::google::objc::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'.