clang  19.0.0git
Functions
RewriteObjC.cpp File Reference
#include "clang/Rewrite/Frontend/ASTConsumers.h"
#include "clang/AST/AST.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/Attr.h"
#include "clang/AST/ParentMap.h"
#include "clang/Basic/CharInfo.h"
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Config/config.h"
#include "clang/Lex/Lexer.h"
#include "clang/Rewrite/Core/Rewriter.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>

Go to the source code of this file.

Functions

static bool IsHeaderFile (const std::string &Filename)
 
static std::string getIvarAccessString (ObjCIvarDecl *OID)
 
static void RewriteOneForwardClassDecl (ObjCInterfaceDecl *ForwardDecl, std::string &typedefString)
 
static bool scanForProtocolRefs (const char *startBuf, const char *endBuf, const char *&startRef, const char *&endRef)
 
static void scanToNextArgument (const char *&argRef)
 
static bool HasLocalVariableExternalStorage (ValueDecl *VD)
 
static void BuildUniqueMethodName (std::string &Name, ObjCMethodDecl *MD)
 

Function Documentation

◆ BuildUniqueMethodName()

static void BuildUniqueMethodName ( std::string &  Name,
ObjCMethodDecl MD 
)
static

Definition at line 3626 of file RewriteObjC.cpp.

◆ getIvarAccessString()

std::string RewriteModernObjC::getIvarAccessString ( ObjCIvarDecl OID)
static

Definition at line 757 of file RewriteObjC.cpp.

References clang::ObjCIvarDecl::getContainingInterface().

◆ HasLocalVariableExternalStorage()

static bool HasLocalVariableExternalStorage ( ValueDecl VD)
static

Definition at line 3246 of file RewriteObjC.cpp.

◆ IsHeaderFile()

static bool IsHeaderFile ( const std::string &  Filename)
static

Definition at line 564 of file RewriteObjC.cpp.

References Filename.

◆ RewriteOneForwardClassDecl()

static void RewriteOneForwardClassDecl ( ObjCInterfaceDecl ForwardDecl,
std::string &  typedefString 
)
static

Definition at line 892 of file RewriteObjC.cpp.

References clang::NamedDecl::getNameAsString().

◆ scanForProtocolRefs()

static bool scanForProtocolRefs ( const char *  startBuf,
const char *  endBuf,
const char *&  startRef,
const char *&  endRef 
)
static

Definition at line 2037 of file RewriteObjC.cpp.

◆ scanToNextArgument()

static void scanToNextArgument ( const char *&  argRef)
static

Definition at line 2054 of file RewriteObjC.cpp.