Lines Matching refs:RewriteObjC
38 class RewriteObjC : public ASTConsumer { class
152 RewriteObjC &R;
156 DisableReplaceStmtScope(RewriteObjC &R) in DisableReplaceStmtScope()
193 RewriteObjC(std::string inFile, std::unique_ptr<raw_ostream> OS,
197 ~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()
905 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue()
914 void RewriteObjC::RewriteForwardClassDecl(DeclGroupRef D) { in RewriteForwardClassDecl()
932 void RewriteObjC::RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &D) { in RewriteForwardClassDecl()
946 void RewriteObjC::RewriteMethodDeclaration(ObjCMethodDecl *Method) { in RewriteMethodDeclaration()
963 void RewriteObjC::RewriteProperty(ObjCPropertyDecl *prop) { in RewriteProperty()
970 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl()
988 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl()
1023 void RewriteObjC::RewriteForwardProtocolDecl(DeclGroupRef D) { in RewriteForwardProtocolDecl()
1032 RewriteObjC::RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG) { in RewriteForwardProtocolDecl()
1040 void RewriteObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr, in RewriteTypeIntoString()
1063 void RewriteObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, in RewriteObjCMethodDecl()
1167 void RewriteObjC::RewriteImplementationDecl(Decl *OID) { in RewriteImplementationDecl()
1205 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl()
1235 Stmt *RewriteObjC::RewritePropertyOrImplicitSetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitSetter()
1318 Stmt *RewriteObjC::RewritePropertyOrImplicitGetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitGetter()
1403 void RewriteObjC::SynthCountByEnumWithState(std::string &buf) { in SynthCountByEnumWithState()
1417 Stmt *RewriteObjC::RewriteBreakStmt(BreakStmt *S) { in RewriteBreakStmt()
1434 Stmt *RewriteObjC::RewriteContinueStmt(ContinueStmt *S) { in RewriteContinueStmt()
1480 Stmt *RewriteObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1650 Stmt *RewriteObjC::RewriteObjCSynchronizedStmt(ObjCAtSynchronizedStmt *S) { in RewriteObjCSynchronizedStmt()
1722 void RewriteObjC::WarnAboutReturnGotoStmts(Stmt *S) in WarnAboutReturnGotoStmts()
1735 void RewriteObjC::HasReturnStmts(Stmt *S, bool &hasReturns) in HasReturnStmts()
1746 void RewriteObjC::RewriteTryReturnStmts(Stmt *S) { in RewriteTryReturnStmts()
1767 void RewriteObjC::RewriteSyncReturnStmts(Stmt *S, std::string syncExitBuf) { in RewriteSyncReturnStmts()
1791 Stmt *RewriteObjC::RewriteObjCTryStmt(ObjCAtTryStmt *S) { in RewriteObjCTryStmt()
1959 Stmt *RewriteObjC::RewriteObjCThrowStmt(ObjCAtThrowStmt *S) { in RewriteObjCThrowStmt()
1985 Stmt *RewriteObjC::RewriteAtEncode(ObjCEncodeExpr *Exp) { in RewriteAtEncode()
1997 Stmt *RewriteObjC::RewriteAtSelector(ObjCSelectorExpr *Exp) { in RewriteAtSelector()
2012 RewriteObjC::SynthesizeCallToFunctionDecl(FunctionDecl *FD, in SynthesizeCallToFunctionDecl()
2066 bool RewriteObjC::needToScanForQualifiers(QualType T) { in needToScanForQualifiers()
2084 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Expr *E) { in RewriteObjCQualifiedInterfaceTypes()
2114 void RewriteObjC::RewriteObjCQualifiedInterfaceTypes(Decl *Dcl) { in RewriteObjCQualifiedInterfaceTypes()
2192 void RewriteObjC::RewriteTypeOfDecl(VarDecl *ND) { in RewriteTypeOfDecl()
2229 void RewriteObjC::SynthSelGetUidFunctionDecl() { in SynthSelGetUidFunctionDecl()
2242 void RewriteObjC::RewriteFunctionDecl(FunctionDecl *FD) { in RewriteFunctionDecl()
2252 void RewriteObjC::RewriteBlockPointerType(std::string& Str, QualType Type) { in RewriteBlockPointerType()
2266 void RewriteObjC::RewriteBlockPointerTypeVariable(std::string& Str, in RewriteBlockPointerTypeVariable()
2295 void RewriteObjC::RewriteBlockLiteralFunctionDecl(FunctionDecl *FD) { in RewriteBlockLiteralFunctionDecl()
2319 void RewriteObjC::SynthSuperConstructorFunctionDecl() { in SynthSuperConstructorFunctionDecl()
2338 void RewriteObjC::SynthMsgSendFunctionDecl() { in SynthMsgSendFunctionDecl()
2357 void RewriteObjC::SynthMsgSendSuperFunctionDecl() { in SynthMsgSendSuperFunctionDecl()
2379 void RewriteObjC::SynthMsgSendStretFunctionDecl() { in SynthMsgSendStretFunctionDecl()
2399 void RewriteObjC::SynthMsgSendSuperStretFunctionDecl() { in SynthMsgSendSuperStretFunctionDecl()
2423 void RewriteObjC::SynthMsgSendFpretFunctionDecl() { in SynthMsgSendFpretFunctionDecl()
2442 void RewriteObjC::SynthGetClassFunctionDecl() { in SynthGetClassFunctionDecl()
2456 void RewriteObjC::SynthGetSuperClassFunctionDecl() { in SynthGetSuperClassFunctionDecl()
2472 void RewriteObjC::SynthGetMetaClassFunctionDecl() { in SynthGetMetaClassFunctionDecl()
2485 Stmt *RewriteObjC::RewriteObjCStringLiteral(ObjCStringLiteral *Exp) { in RewriteObjCStringLiteral()
2532 QualType RewriteObjC::getSuperStructType() { in getSuperStructType()
2560 QualType RewriteObjC::getConstantStringStructType() { in getConstantStringStructType()
2593 CallExpr *RewriteObjC::SynthMsgSendStretCallExpr(FunctionDecl *MsgSendStretFlavor, in SynthMsgSendStretCallExpr()
2625 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()
3058 bool RewriteObjC::BufferContainsPPDirectives(const char *startBuf, in BufferContainsPPDirectives()
3086 void RewriteObjC::RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, in RewriteObjCInternalStruct()
3223 void RewriteObjC::RewriteImplementations() { in RewriteImplementations()
3235 void RewriteObjC::RewriteByRefString(std::string &ResultStr, in RewriteByRefString()
3252 std::string RewriteObjC::SynthesizeBlockFunc(BlockExpr *CE, int i, in SynthesizeBlockFunc()
3344 std::string RewriteObjC::SynthesizeBlockHelperFuncs(BlockExpr *CE, int i, in SynthesizeBlockHelperFuncs()
3388 std::string RewriteObjC::SynthesizeBlockImpl(BlockExpr *CE, std::string Tag, in SynthesizeBlockImpl()
3503 std::string RewriteObjC::SynthesizeBlockDescriptor(std::string DescTag, in SynthesizeBlockDescriptor()
3531 void RewriteObjC::SynthesizeBlockLiterals(SourceLocation FunLocStart, in SynthesizeBlockLiterals()
3619 void RewriteObjC::InsertBlockLiteralsWithinFunction(FunctionDecl *FD) { in InsertBlockLiteralsWithinFunction()
3637 void RewriteObjC::InsertBlockLiteralsWithinMethod(ObjCMethodDecl *MD) { in InsertBlockLiteralsWithinMethod()
3646 void RewriteObjC::GetBlockDeclRefExprs(Stmt *S) { in GetBlockDeclRefExprs()
3662 void RewriteObjC::GetInnerBlockDeclRefExprs(Stmt *S, in GetInnerBlockDeclRefExprs()
3693 QualType RewriteObjC::convertFunctionTypeOfBlocks(const FunctionType *FT) { in convertFunctionTypeOfBlocks()
3719 Stmt *RewriteObjC::SynthesizeBlockCall(CallExpr *Exp, const Expr *BlockExp) { in SynthesizeBlockCall()
3830 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
3867 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
3882 void RewriteObjC::RewriteCastExpr(CStyleCastExpr *CE) { in RewriteCastExpr()
3920 void RewriteObjC::RewriteBlockPointerFunctionArgs(FunctionDecl *FD) { in RewriteBlockPointerFunctionArgs()
3954 bool RewriteObjC::PointerTypeTakesAnyBlockArguments(QualType QT) { in PointerTypeTakesAnyBlockArguments()
3972 bool RewriteObjC::PointerTypeTakesAnyObjCQualifiedType(QualType QT) { in PointerTypeTakesAnyObjCQualifiedType()
3995 void RewriteObjC::GetExtentOfArgList(const char *Name, const char *&LParen, in GetExtentOfArgList()
4016 void RewriteObjC::RewriteBlockPointerDecl(NamedDecl *ND) { in RewriteBlockPointerDecl()
4110 std::string RewriteObjC::SynthesizeByrefCopyDestroyHelper(VarDecl *VD, in SynthesizeByrefCopyDestroyHelper()
4165 void RewriteObjC::RewriteByRefVar(VarDecl *ND) { in RewriteByRefVar()
4312 void RewriteObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) { in CollectBlockDeclRefInfo()
4341 FunctionDecl *RewriteObjC::SynthBlockInitFunctionDecl(StringRef name) { in SynthBlockInitFunctionDecl()
4349 Stmt *RewriteObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr()
4543 bool RewriteObjC::IsDeclStmtInForeachHeader(DeclStmt *DS) { in IsDeclStmtInForeachHeader()
4554 Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) { in RewriteFunctionBodyOrGlobalInitializer()
4769 void RewriteObjC::RewriteRecordBody(RecordDecl *RD) { in RewriteRecordBody()
4781 void RewriteObjC::HandleDeclInMainFile(Decl *D) { in HandleDeclInMainFile()
4904 void RewriteObjC::HandleTranslationUnit(ASTContext &C) { in HandleTranslationUnit()