Lines Matching refs:RewriteObjC

39   class RewriteObjC : public ASTConsumer {  class
153 RewriteObjC &R;
157 DisableReplaceStmtScope(RewriteObjC &R) in DisableReplaceStmtScope()
194 RewriteObjC(std::string inFile, std::unique_ptr<raw_ostream> OS,
198 ~RewriteObjC() override {} in ~RewriteObjC()
508 class RewriteObjCFragileABI : public RewriteObjC {
513 : RewriteObjC(inFile, std::move(OS), D, LOpts, silenceMacroWarn) {} in RewriteObjCFragileABI()
545 void RewriteObjC::RewriteBlocksInFunctionProtoType(QualType funcType, in RewriteBlocksInFunctionProtoType()
558 void RewriteObjC::CheckFunctionPointerDecl(QualType funcType, NamedDecl *ND) { in CheckFunctionPointerDecl()
578 RewriteObjC::RewriteObjC(std::string inFile, std::unique_ptr<raw_ostream> OS, in RewriteObjC() function in RewriteObjC
601 void RewriteObjC::InitializeCommon(ASTContext &context) { in InitializeCommon()
645 void RewriteObjC::HandleTopLevelSingleDecl(Decl *D) { in HandleTopLevelSingleDecl()
731 void RewriteObjC::RewriteInclude() { in RewriteInclude()
767 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
902 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue()
911 void RewriteObjC::RewriteForwardClassDecl(DeclGroupRef D) { in RewriteForwardClassDecl()
929 void RewriteObjC::RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &D) { in RewriteForwardClassDecl()
943 void RewriteObjC::RewriteMethodDeclaration(ObjCMethodDecl *Method) { in RewriteMethodDeclaration()
960 void RewriteObjC::RewriteProperty(ObjCPropertyDecl *prop) { in RewriteProperty()
967 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl()
985 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl()
1020 void RewriteObjC::RewriteForwardProtocolDecl(DeclGroupRef D) { in RewriteForwardProtocolDecl()
1029 RewriteObjC::RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG) { in RewriteForwardProtocolDecl()
1037 void RewriteObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr, in RewriteTypeIntoString()
1060 void RewriteObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, in RewriteObjCMethodDecl()
1164 void RewriteObjC::RewriteImplementationDecl(Decl *OID) { in RewriteImplementationDecl()
1197 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl()
1227 Stmt *RewriteObjC::RewritePropertyOrImplicitSetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitSetter()
1310 Stmt *RewriteObjC::RewritePropertyOrImplicitGetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitGetter()
1395 void RewriteObjC::SynthCountByEnumWithState(std::string &buf) { in SynthCountByEnumWithState()
1409 Stmt *RewriteObjC::RewriteBreakStmt(BreakStmt *S) { in RewriteBreakStmt()
1426 Stmt *RewriteObjC::RewriteContinueStmt(ContinueStmt *S) { in RewriteContinueStmt()
1472 Stmt *RewriteObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1642 Stmt *RewriteObjC::RewriteObjCSynchronizedStmt(ObjCAtSynchronizedStmt *S) { in RewriteObjCSynchronizedStmt()
1714 void RewriteObjC::WarnAboutReturnGotoStmts(Stmt *S) in WarnAboutReturnGotoStmts()
1727 void RewriteObjC::HasReturnStmts(Stmt *S, bool &hasReturns) in HasReturnStmts()
1738 void RewriteObjC::RewriteTryReturnStmts(Stmt *S) { in RewriteTryReturnStmts()
1759 void RewriteObjC::RewriteSyncReturnStmts(Stmt *S, std::string syncExitBuf) { in RewriteSyncReturnStmts()
1783 Stmt *RewriteObjC::RewriteObjCTryStmt(ObjCAtTryStmt *S) { in RewriteObjCTryStmt()
1951 Stmt *RewriteObjC::RewriteObjCThrowStmt(ObjCAtThrowStmt *S) { in RewriteObjCThrowStmt()
1977 Stmt *RewriteObjC::RewriteAtEncode(ObjCEncodeExpr *Exp) { in RewriteAtEncode()
1989 Stmt *RewriteObjC::RewriteAtSelector(ObjCSelectorExpr *Exp) { in RewriteAtSelector()
2004 RewriteObjC::SynthesizeCallToFunctionDecl(FunctionDecl *FD, in SynthesizeCallToFunctionDecl()
2057 bool RewriteObjC::needToScanForQualifiers(QualType T) { in needToScanForQualifiers()
2075 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Expr *E) { in RewriteObjCQualifiedInterfaceTypes()
2105 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes()
2183 void RewriteObjC::RewriteTypeOfDecl(VarDecl *ND) { in RewriteTypeOfDecl()
2220 void RewriteObjC::SynthSelGetUidFunctionDecl() { in SynthSelGetUidFunctionDecl()
2233 void RewriteObjC::RewriteFunctionDecl(FunctionDecl *FD) { in RewriteFunctionDecl()
2243 void RewriteObjC::RewriteBlockPointerType(std::string& Str, QualType Type) { in RewriteBlockPointerType()
2257 void RewriteObjC::RewriteBlockPointerTypeVariable(std::string& Str, in RewriteBlockPointerTypeVariable()
2286 void RewriteObjC::RewriteBlockLiteralFunctionDecl(FunctionDecl *FD) { in RewriteBlockLiteralFunctionDecl()
2310 void RewriteObjC::SynthSuperConstructorFunctionDecl() { in SynthSuperConstructorFunctionDecl()
2329 void RewriteObjC::SynthMsgSendFunctionDecl() { in SynthMsgSendFunctionDecl()
2348 void RewriteObjC::SynthMsgSendSuperFunctionDecl() { in SynthMsgSendSuperFunctionDecl()
2370 void RewriteObjC::SynthMsgSendStretFunctionDecl() { in SynthMsgSendStretFunctionDecl()
2390 void RewriteObjC::SynthMsgSendSuperStretFunctionDecl() { in SynthMsgSendSuperStretFunctionDecl()
2414 void RewriteObjC::SynthMsgSendFpretFunctionDecl() { in SynthMsgSendFpretFunctionDecl()
2433 void RewriteObjC::SynthGetClassFunctionDecl() { in SynthGetClassFunctionDecl()
2447 void RewriteObjC::SynthGetSuperClassFunctionDecl() { in SynthGetSuperClassFunctionDecl()
2463 void RewriteObjC::SynthGetMetaClassFunctionDecl() { in SynthGetMetaClassFunctionDecl()
2476 Stmt *RewriteObjC::RewriteObjCStringLiteral(ObjCStringLiteral *Exp) { in RewriteObjCStringLiteral()
2522 QualType RewriteObjC::getSuperStructType() { in getSuperStructType()
2550 QualType RewriteObjC::getConstantStringStructType() { in getConstantStringStructType()
2583 CallExpr *RewriteObjC::SynthMsgSendStretCallExpr(FunctionDecl *MsgSendStretFlavor, in SynthMsgSendStretCallExpr()
2614 Stmt *RewriteObjC::SynthMessageExpr(ObjCMessageExpr *Exp, in SynthMessageExpr()
3009 Stmt *RewriteObjC::RewriteMessageExpr(ObjCMessageExpr *Exp) { in RewriteMessageExpr()
3021 QualType RewriteObjC::getProtocolType() { in getProtocolType()
3037 Stmt *RewriteObjC::RewriteObjCProtocolExpr(ObjCProtocolExpr *Exp) { in RewriteObjCProtocolExpr()
3057 bool RewriteObjC::BufferContainsPPDirectives(const char *startBuf, in BufferContainsPPDirectives()
3085 void RewriteObjC::RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, in RewriteObjCInternalStruct()
3222 void RewriteObjC::RewriteImplementations() { in RewriteImplementations()
3234 void RewriteObjC::RewriteByRefString(std::string &ResultStr, in RewriteByRefString()
3251 std::string RewriteObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
3343 std::string RewriteObjC::SynthesizeBlockHelperFuncs(BlockExpr *CE, int i, in SynthesizeBlockHelperFuncs()
3387 std::string RewriteObjC::SynthesizeBlockImpl(BlockExpr *CE, std::string Tag, in SynthesizeBlockImpl()
3502 std::string RewriteObjC::SynthesizeBlockDescriptor(std::string DescTag, in SynthesizeBlockDescriptor()
3530 void RewriteObjC::SynthesizeBlockLiterals(SourceLocation FunLocStart, in SynthesizeBlockLiterals()
3618 void RewriteObjC::InsertBlockLiteralsWithinFunction(FunctionDecl *FD) { in InsertBlockLiteralsWithinFunction()
3636 void RewriteObjC::InsertBlockLiteralsWithinMethod(ObjCMethodDecl *MD) { in InsertBlockLiteralsWithinMethod()
3645 void RewriteObjC::GetBlockDeclRefExprs(Stmt *S) { in GetBlockDeclRefExprs()
3661 void RewriteObjC::GetInnerBlockDeclRefExprs(Stmt *S, in GetInnerBlockDeclRefExprs()
3692 QualType RewriteObjC::convertFunctionTypeOfBlocks(const FunctionType *FT) { in convertFunctionTypeOfBlocks()
3718 Stmt *RewriteObjC::SynthesizeBlockCall(CallExpr *Exp, const Expr *BlockExp) { in SynthesizeBlockCall()
3831 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
3869 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
3884 void RewriteObjC::RewriteCastExpr(CStyleCastExpr *CE) { in RewriteCastExpr()
3922 void RewriteObjC::RewriteBlockPointerFunctionArgs(FunctionDecl *FD) { in RewriteBlockPointerFunctionArgs()
3956 bool RewriteObjC::PointerTypeTakesAnyBlockArguments(QualType QT) { in PointerTypeTakesAnyBlockArguments()
3974 bool RewriteObjC::PointerTypeTakesAnyObjCQualifiedType(QualType QT) { in PointerTypeTakesAnyObjCQualifiedType()
3997 void RewriteObjC::GetExtentOfArgList(const char *Name, const char *&LParen, in GetExtentOfArgList()
4018 void RewriteObjC::RewriteBlockPointerDecl(NamedDecl *ND) { in RewriteBlockPointerDecl()
4112 std::string RewriteObjC::SynthesizeByrefCopyDestroyHelper(VarDecl *VD, in SynthesizeByrefCopyDestroyHelper()
4167 void RewriteObjC::RewriteByRefVar(VarDecl *ND) { in RewriteByRefVar()
4314 void RewriteObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) { in CollectBlockDeclRefInfo()
4343 FunctionDecl *RewriteObjC::SynthBlockInitFunctionDecl(StringRef name) { in SynthBlockInitFunctionDecl()
4351 Stmt *RewriteObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr()
4540 bool RewriteObjC::IsDeclStmtInForeachHeader(DeclStmt *DS) { in IsDeclStmtInForeachHeader()
4551 Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) { in RewriteFunctionBodyOrGlobalInitializer()
4766 void RewriteObjC::RewriteRecordBody(RecordDecl *RD) { in RewriteRecordBody()
4778 void RewriteObjC::HandleDeclInMainFile(Decl *D) { in HandleDeclInMainFile()
4901 void RewriteObjC::HandleTranslationUnit(ASTContext &C) { in HandleTranslationUnit()