clang
7.0.0
|
#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) |
|
static |
Definition at line 3626 of file RewriteObjC.cpp.
References clang::Stmt::children(), clang::Selector::getAsString(), clang::ObjCMethodDecl::getClassInterface(), clang::ObjCMethodDecl::getLocStart(), clang::NamedDecl::getName(), clang::FunctionType::getReturnType(), clang::ObjCMethodDecl::getSelector(), and HasLocalVariableExternalStorage().
|
static |
Definition at line 757 of file RewriteObjC.cpp.
References clang::ObjCIvarDecl::getContainingInterface().
Referenced by mustSynthesizeSetterGetterMethod(), and WriteInternalIvarName().
Definition at line 3246 of file RewriteObjC.cpp.
References clang::QualType::getAsString(), clang::BlockExpr::getBlockDecl(), clang::BlockExpr::getFunctionType(), clang::ASTContext::getPrintingPolicy(), clang::FunctionType::getReturnType(), clang::BlockDecl::param_begin(), clang::BlockDecl::param_empty(), and clang::BlockDecl::param_end().
Referenced by BuildUniqueMethodName().
|
static |
Definition at line 564 of file RewriteObjC.cpp.
References clang::DiagnosticsEngine::getCustomDiagID(), clang::frontend::RewriteObjC, and clang::DiagnosticsEngine::Warning.
|
static |
Definition at line 889 of file RewriteObjC.cpp.
References clang::SourceManager::getCharacterData(), clang::Decl::getLocStart(), and clang::NamedDecl::getNameAsString().
|
static |
Definition at line 2029 of file RewriteObjC.cpp.
Referenced by scanToNextArgument().
|
static |
Definition at line 2046 of file RewriteObjC.cpp.
References clang::Type::getAs(), clang::QualType::getAsString(), clang::ASTContext::getBaseElementType(), clang::SourceManager::getCharacterData(), clang::VarDecl::getInit(), clang::Decl::getLocation(), clang::Stmt::getLocEnd(), clang::Stmt::getLocStart(), clang::SourceLocation::getLocWithOffset(), clang::FunctionProtoType::getNumParams(), clang::FunctionProtoType::getParamType(), clang::Type::getPointeeType(), clang::PointerType::getPointeeType(), clang::ASTContext::getPrintingPolicy(), clang::FunctionType::getReturnType(), clang::Expr::getType(), clang::ValueDecl::getType(), clang::DeclaratorDecl::getTypeSpecStartLoc(), clang::TypeOfExprType::getUnderlyingExpr(), clang::Type::isArrayType(), clang::SourceLocation::isInvalid(), clang::Type::isObjCObjectPointerType(), clang::Type::isObjCQualifiedIdType(), clang::Type::isObjCQualifiedInterfaceType(), and scanForProtocolRefs().