/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A 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 …]
|
H A 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);
|
H A D | Transforms.cpp | 381 SourceLocation atLoc) { in rewritePropertyAttribute() argument 382 if (atLoc.isMacroID()) in rewritePropertyAttribute() 388 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute() 462 SourceLocation atLoc) { in addPropertyAttribute() argument 463 if (atLoc.isMacroID()) in addPropertyAttribute() 469 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 150 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument 185 atLoc, ClassNames.data(), ClassLocs.data(), ClassTypeParams, in ParseObjCAtClassDeclaration() 1911 ObjCContainerDecl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument 1922 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, AllIvarDecls, in HelperActionsForIvarDeclarations() 1950 SourceLocation atLoc) { in ParseObjCClassInstanceVariables() argument 1991 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 2043 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables() 2347 Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) { in ParseObjCAtAliasDeclaration() argument 2360 return Actions.ObjC().ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration() 2375 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) { in ParseObjCPropertySynthesize() argument [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
H A D | Parser.h | 1709 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc); 1720 SourceLocation atLoc, 1726 SourceLocation atLoc); 1776 DeclGroupPtrTy ParseObjCAtProtocolDeclaration(SourceLocation atLoc, 1805 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc); 1806 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc); 1807 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc); 2273 StmtResult ParseObjCAtStatement(SourceLocation atLoc, 2275 StmtResult ParseObjCTryStmt(SourceLocation atLoc); 2276 StmtResult ParseObjCThrowStmt(SourceLocation atLoc); [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtObjC.h | 399 ObjCAutoreleasePoolStmt(SourceLocation atLoc, Stmt *subStmt) in ObjCAutoreleasePoolStmt() argument 400 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt()
|
H A D | DeclObjC.h | 1278 Create(const ASTContext &C, DeclContext *DC, SourceLocation atLoc, 2839 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() argument 2844 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() 2853 SourceLocation atLoc, SourceLocation L,
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaObjC.cpp | 286 ExprResult SemaObjC::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, in ActOnObjCAtSynchronizedOperand() argument 299 if (SemaRef.RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand() 301 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 309 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand() 314 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
|
H A D | TreeTransform.h | 2493 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument 2495 return getSema().ObjC().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 1543 const ASTContext &C, DeclContext *DC, SourceLocation atLoc, in Create() argument 1547 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create() 2386 SourceLocation atLoc, in Create() argument 2392 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaObjC.h | 74 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,
|