clang  6.0.0svn
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>
Include dependency graph for RewriteObjC.cpp:

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

◆ getIvarAccessString()

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

◆ HasLocalVariableExternalStorage()

static bool HasLocalVariableExternalStorage ( ValueDecl VD)
static

◆ IsHeaderFile()

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

◆ RewriteOneForwardClassDecl()

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

◆ scanForProtocolRefs()

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

Definition at line 2029 of file RewriteObjC.cpp.

Referenced by scanToNextArgument().

◆ scanToNextArgument()

static void scanToNextArgument ( const char *&  argRef)
static