/external/llvm-project/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 132 SourceLocation atLoc = I->first; in doTransform() local 140 rewriteProperty(props, atLoc); in doTransform() 146 PropsTy &props, SourceLocation atLoc, in doPropAction() argument 157 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc); in doPropAction() 161 return removeAssignForDefaultStrong(props, atLoc); in doPropAction() 163 return rewriteAssign(props, atLoc); in doPropAction() 165 return maybeAddWeakOrUnsafeUnretainedAttr(props, atLoc); in doPropAction() 169 void rewriteProperty(PropsTy &props, SourceLocation atLoc) { in rewriteProperty() argument 180 return doPropAction(PropAction_RetainReplacedWithStrong, props, atLoc); in rewriteProperty() 187 return doPropAction(PropAction_AssignRemoved, props, atLoc); in rewriteProperty() [all …]
|
D | Transforms.h | 115 bool removePropertyAttribute(StringRef fromAttr, SourceLocation atLoc) { in removePropertyAttribute() argument 116 return rewritePropertyAttribute(fromAttr, StringRef(), atLoc); in removePropertyAttribute() 119 SourceLocation atLoc); 120 bool addPropertyAttribute(StringRef attr, SourceLocation atLoc);
|
D | Transforms.cpp | 382 SourceLocation atLoc) { in rewritePropertyAttribute() argument 383 if (atLoc.isMacroID()) in rewritePropertyAttribute() 389 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() 463 SourceLocation atLoc) { in addPropertyAttribute() argument 464 if (atLoc.isMacroID()) in addPropertyAttribute() 470 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
|
/external/clang/lib/ARCMigrate/ |
D | TransProperties.cpp | 134 SourceLocation atLoc = SourceLocation::getFromRawEncoding(I->first); in doTransform() local 142 rewriteProperty(props, atLoc); in doTransform() 148 PropsTy &props, SourceLocation atLoc, in doPropAction() argument 159 MigrateCtx.rewritePropertyAttribute("retain", toAttr, atLoc); in doPropAction() 163 return removeAssignForDefaultStrong(props, atLoc); in doPropAction() 165 return rewriteAssign(props, atLoc); in doPropAction() 167 return maybeAddWeakOrUnsafeUnretainedAttr(props, atLoc); in doPropAction() 171 void rewriteProperty(PropsTy &props, SourceLocation atLoc) { in rewriteProperty() argument 182 return doPropAction(PropAction_RetainReplacedWithStrong, props, atLoc); in rewriteProperty() 189 return doPropAction(PropAction_AssignRemoved, props, atLoc); in rewriteProperty() [all …]
|
D | Transforms.h | 116 bool removePropertyAttribute(StringRef fromAttr, SourceLocation atLoc) { in removePropertyAttribute() argument 117 return rewritePropertyAttribute(fromAttr, StringRef(), atLoc); in removePropertyAttribute() 120 SourceLocation atLoc); 121 bool addPropertyAttribute(StringRef attr, SourceLocation atLoc);
|
D | Transforms.cpp | 386 SourceLocation atLoc) { in rewritePropertyAttribute() argument 387 if (atLoc.isMacroID()) in rewritePropertyAttribute() 393 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() 467 SourceLocation atLoc) { in addPropertyAttribute() argument 468 if (atLoc.isMacroID()) in addPropertyAttribute() 474 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 132 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument 162 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration() 1884 void Parser::HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument 1896 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, in HelperActionsForIvarDeclarations() 1923 SourceLocation atLoc) { in ParseObjCClassInstanceVariables() argument 1964 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 2005 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 2306 Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) { in ParseObjCAtAliasDeclaration() argument 2323 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration() 2338 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) { in ParseObjCPropertySynthesize() argument [all …]
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseObjc.cpp | 131 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument 160 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration() 1865 void Parser::HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument 1877 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, AllIvarDecls, in HelperActionsForIvarDeclarations() 1905 SourceLocation atLoc) { in ParseObjCClassInstanceVariables() argument 1946 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 1996 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 2281 Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) { in ParseObjCAtAliasDeclaration() argument 2294 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration() 2309 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) { in ParseObjCPropertySynthesize() argument [all …]
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1275 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc); 1285 void HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc, 1291 SourceLocation atLoc); 1341 DeclGroupPtrTy ParseObjCAtProtocolDeclaration(SourceLocation atLoc, 1369 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc); 1370 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc); 1371 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc); 1775 StmtResult ParseObjCAtStatement(SourceLocation atLoc); 1776 StmtResult ParseObjCTryStmt(SourceLocation atLoc); 1777 StmtResult ParseObjCThrowStmt(SourceLocation atLoc); [all …]
|
/external/llvm-project/clang/include/clang/Parse/ |
D | Parser.h | 1620 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc); 1630 void HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc, 1636 SourceLocation atLoc); 1686 DeclGroupPtrTy ParseObjCAtProtocolDeclaration(SourceLocation atLoc, 1715 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc); 1716 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc); 1717 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc); 2171 StmtResult ParseObjCAtStatement(SourceLocation atLoc, 2173 StmtResult ParseObjCTryStmt(SourceLocation atLoc); 2174 StmtResult ParseObjCThrowStmt(SourceLocation atLoc); [all …]
|
/external/clang/include/clang/AST/ |
D | StmtObjC.h | 350 ObjCAutoreleasePoolStmt(SourceLocation atLoc, Stmt *subStmt) in ObjCAutoreleasePoolStmt() argument 351 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt()
|
D | DeclObjC.h | 1199 SourceLocation atLoc, 2686 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() argument 2691 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() 2699 SourceLocation atLoc, SourceLocation L,
|
/external/llvm-project/clang/include/clang/AST/ |
D | StmtObjC.h | 373 ObjCAutoreleasePoolStmt(SourceLocation atLoc, Stmt *subStmt) in ObjCAutoreleasePoolStmt() argument 374 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt()
|
D | DeclObjC.h | 1284 SourceLocation atLoc, 2800 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() argument 2805 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() 2814 SourceLocation atLoc, SourceLocation L,
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 1386 SourceLocation atLoc, in Create() argument 1393 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create() 2190 SourceLocation atLoc, in Create() argument 2196 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 1494 SourceLocation atLoc, in Create() argument 1501 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create() 2306 SourceLocation atLoc, in Create() argument 2312 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
|
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 3477 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument 3490 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand() 3492 return Diag(atLoc, diag::error_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 3497 return Diag(atLoc, diag::error_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 3502 return Diag(atLoc, diag::error_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
|
D | TreeTransform.h | 1812 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument 1814 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 3974 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument 3987 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand() 3989 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 3996 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 4001 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
|
D | TreeTransform.h | 2161 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument 2163 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3170 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local 3181 InsertText(atLoc, "// "); in RewriteObjCInternalStruct() 3187 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local 3188 InsertText(atLoc, "/* "); in RewriteObjCInternalStruct() 3191 atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() 3192 InsertText(atLoc, " */"); in RewriteObjCInternalStruct()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3183 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local 3194 InsertText(atLoc, "// "); in RewriteObjCInternalStruct() 3200 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local 3201 InsertText(atLoc, "/* "); in RewriteObjCInternalStruct() 3204 atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() 3205 InsertText(atLoc, " */"); in RewriteObjCInternalStruct()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 3536 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 4676 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,
|