Lines Matching refs:RewriteObjC
38 class RewriteObjC : public ASTConsumer { class
152 RewriteObjC &R;
156 DisableReplaceStmtScope(RewriteObjC &R) in DisableReplaceStmtScope()
193 RewriteObjC(std::string inFile, raw_ostream *OS,
197 ~RewriteObjC() override {} in ~RewriteObjC()
507 class RewriteObjCFragileABI : public RewriteObjC {
511 bool silenceMacroWarn) : RewriteObjC(inFile, OS, 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, raw_ostream* OS, in RewriteObjC() function in RewriteObjC
600 void RewriteObjC::InitializeCommon(ASTContext &context) { in InitializeCommon()
644 void RewriteObjC::HandleTopLevelSingleDecl(Decl *D) { in HandleTopLevelSingleDecl()
730 void RewriteObjC::RewriteInclude() { in RewriteInclude()
766 void RewriteObjC::RewritePropertyImplDecl(ObjCPropertyImplDecl *PID, in RewritePropertyImplDecl()
901 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue()
910 void RewriteObjC::RewriteForwardClassDecl(DeclGroupRef D) { in RewriteForwardClassDecl()
928 void RewriteObjC::RewriteForwardClassDecl(const SmallVectorImpl<Decl *> &D) { in RewriteForwardClassDecl()
942 void RewriteObjC::RewriteMethodDeclaration(ObjCMethodDecl *Method) { in RewriteMethodDeclaration()
959 void RewriteObjC::RewriteProperty(ObjCPropertyDecl *prop) { in RewriteProperty()
966 void RewriteObjC::RewriteCategoryDecl(ObjCCategoryDecl *CatDecl) { in RewriteCategoryDecl()
984 void RewriteObjC::RewriteProtocolDecl(ObjCProtocolDecl *PDecl) { in RewriteProtocolDecl()
1019 void RewriteObjC::RewriteForwardProtocolDecl(DeclGroupRef D) { in RewriteForwardProtocolDecl()
1028 RewriteObjC::RewriteForwardProtocolDecl(const SmallVectorImpl<Decl *> &DG) { in RewriteForwardProtocolDecl()
1036 void RewriteObjC::RewriteTypeIntoString(QualType T, std::string &ResultStr, in RewriteTypeIntoString()
1059 void RewriteObjC::RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, in RewriteObjCMethodDecl()
1163 void RewriteObjC::RewriteImplementationDecl(Decl *OID) { in RewriteImplementationDecl()
1196 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl()
1226 Stmt *RewriteObjC::RewritePropertyOrImplicitSetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitSetter()
1309 Stmt *RewriteObjC::RewritePropertyOrImplicitGetter(PseudoObjectExpr *PseudoOp) { in RewritePropertyOrImplicitGetter()
1394 void RewriteObjC::SynthCountByEnumWithState(std::string &buf) { in SynthCountByEnumWithState()
1408 Stmt *RewriteObjC::RewriteBreakStmt(BreakStmt *S) { in RewriteBreakStmt()
1425 Stmt *RewriteObjC::RewriteContinueStmt(ContinueStmt *S) { in RewriteContinueStmt()
1471 Stmt *RewriteObjC::RewriteObjCForCollectionStmt(ObjCForCollectionStmt *S, in RewriteObjCForCollectionStmt()
1641 Stmt *RewriteObjC::RewriteObjCSynchronizedStmt(ObjCAtSynchronizedStmt *S) { in RewriteObjCSynchronizedStmt()
1713 void RewriteObjC::WarnAboutReturnGotoStmts(Stmt *S) in WarnAboutReturnGotoStmts()
1726 void RewriteObjC::HasReturnStmts(Stmt *S, bool &hasReturns) in HasReturnStmts()
1737 void RewriteObjC::RewriteTryReturnStmts(Stmt *S) { in RewriteTryReturnStmts()
1758 void RewriteObjC::RewriteSyncReturnStmts(Stmt *S, std::string syncExitBuf) { in RewriteSyncReturnStmts()
1782 Stmt *RewriteObjC::RewriteObjCTryStmt(ObjCAtTryStmt *S) { in RewriteObjCTryStmt()
1950 Stmt *RewriteObjC::RewriteObjCThrowStmt(ObjCAtThrowStmt *S) { in RewriteObjCThrowStmt()
1976 Stmt *RewriteObjC::RewriteAtEncode(ObjCEncodeExpr *Exp) { in RewriteAtEncode()
1988 Stmt *RewriteObjC::RewriteAtSelector(ObjCSelectorExpr *Exp) { in RewriteAtSelector()
2003 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()
2523 QualType RewriteObjC::getSuperStructType() { in getSuperStructType()
2551 QualType RewriteObjC::getConstantStringStructType() { in getConstantStringStructType()
2584 CallExpr *RewriteObjC::SynthMsgSendStretCallExpr(FunctionDecl *MsgSendStretFlavor, in SynthMsgSendStretCallExpr()
2615 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()
3832 Stmt *RewriteObjC::RewriteBlockDeclRefExpr(DeclRefExpr *DeclRefExp) { in RewriteBlockDeclRefExpr()
3870 Stmt *RewriteObjC::RewriteLocalVariableExternalStorage(DeclRefExpr *DRE) { in RewriteLocalVariableExternalStorage()
3885 void RewriteObjC::RewriteCastExpr(CStyleCastExpr *CE) { in RewriteCastExpr()
3923 void RewriteObjC::RewriteBlockPointerFunctionArgs(FunctionDecl *FD) { in RewriteBlockPointerFunctionArgs()
3957 bool RewriteObjC::PointerTypeTakesAnyBlockArguments(QualType QT) { in PointerTypeTakesAnyBlockArguments()
3975 bool RewriteObjC::PointerTypeTakesAnyObjCQualifiedType(QualType QT) { in PointerTypeTakesAnyObjCQualifiedType()
3998 void RewriteObjC::GetExtentOfArgList(const char *Name, const char *&LParen, in GetExtentOfArgList()
4019 void RewriteObjC::RewriteBlockPointerDecl(NamedDecl *ND) { in RewriteBlockPointerDecl()
4113 std::string RewriteObjC::SynthesizeByrefCopyDestroyHelper(VarDecl *VD, in SynthesizeByrefCopyDestroyHelper()
4168 void RewriteObjC::RewriteByRefVar(VarDecl *ND) { in RewriteByRefVar()
4315 void RewriteObjC::CollectBlockDeclRefInfo(BlockExpr *Exp) { in CollectBlockDeclRefInfo()
4344 FunctionDecl *RewriteObjC::SynthBlockInitFunctionDecl(StringRef name) { in SynthBlockInitFunctionDecl()
4352 Stmt *RewriteObjC::SynthBlockInitExpr(BlockExpr *Exp, in SynthBlockInitExpr()
4545 bool RewriteObjC::IsDeclStmtInForeachHeader(DeclStmt *DS) { in IsDeclStmtInForeachHeader()
4556 Stmt *RewriteObjC::RewriteFunctionBodyOrGlobalInitializer(Stmt *S) { in RewriteFunctionBodyOrGlobalInitializer()
4771 void RewriteObjC::RewriteRecordBody(RecordDecl *RD) { in RewriteRecordBody()
4783 void RewriteObjC::HandleDeclInMainFile(Decl *D) { in HandleDeclInMainFile()
4906 void RewriteObjC::HandleTranslationUnit(ASTContext &C) { in HandleTranslationUnit()