clang-tools 22.0.0git
AvoidNSObjectNewCheck.cpp File Reference
#include "AvoidNSObjectNewCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
#include "llvm/Support/FormatVariadic.h"
#include <map>
#include <string>

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 bool clang::tidy::google::objc::isMessageExpressionInsideMacro (const ObjCMessageExpr *Expr)
static bool clang::tidy::google::objc::isInitMethodAvailable (const ObjCInterfaceDecl *ClassDecl)
static StringRef clang::tidy::google::objc::getReceiverString (SourceRange ReceiverRange, const SourceManager &SM, const LangOptions &LangOpts)
static FixItHint clang::tidy::google::objc::getCallFixItHint (const ObjCMessageExpr *Expr, const SourceManager &SM, const LangOptions &LangOpts)