Home
last modified time | relevance | path

Searched refs:atLoc (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransProperties.cpp132 SourceLocation atLoc = I->first; in doTransform() local
140 rewriteProperty(props, atLoc); in doTransform()
146 PropsTy &props, SourceLocation atLoc, in doPropAction() argument
161 return removeAssignForDefaultStrong(props, atLoc); in doPropAction()
163 return rewriteAssign(props, atLoc); in doPropAction()
200 removeAttribute("retain", atLoc); in removeAssignForDefaultStrong()
201 if (!removeAttribute("assign", atLoc)) in removeAssignForDefaultStrong()
248 atLoc); in maybeAddWeakOrUnsafeUnretainedAttr()
276 SourceLocation atLoc) const { in rewriteAttribute()
281 return MigrateCtx.addPropertyAttribute(attr, atLoc); in addAttribute()
[all …]
H A DTransforms.h115 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 DTransforms.cpp380 SourceLocation atLoc) { in rewritePropertyAttribute() argument
381 if (atLoc.isMacroID()) in rewritePropertyAttribute()
387 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in rewritePropertyAttribute()
461 SourceLocation atLoc) { in addPropertyAttribute() argument
462 if (atLoc.isMacroID()) in addPropertyAttribute()
468 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(atLoc); in addPropertyAttribute()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp148 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument
1921 ObjCContainerDecl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument
2052 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables()
2415 getCurScope(), atLoc, propertyLoc, true, in ParseObjCPropertySynthesize()
2477 getCurScope(), atLoc, propertyLoc, false, in ParseObjCPropertyDynamic()
2512 Parser::ParseObjCSynchronizedStmt(SourceLocation atLoc) { in ParseObjCSynchronizedStmt() argument
2571 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt() argument
2679 Diag(atLoc, diag::err_missing_catch_finally); in ParseObjCTryStmt()
2683 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(), in ParseObjCTryStmt()
2692 Parser::ParseObjCAutoreleasePoolStmt(SourceLocation atLoc) { in ParseObjCAutoreleasePoolStmt() argument
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1658 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc);
1669 SourceLocation atLoc,
1675 SourceLocation atLoc);
1754 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc);
1755 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc);
1756 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc);
2215 StmtResult ParseObjCAtStatement(SourceLocation atLoc,
2217 StmtResult ParseObjCTryStmt(SourceLocation atLoc);
2218 StmtResult ParseObjCThrowStmt(SourceLocation atLoc);
2219 StmtResult ParseObjCSynchronizedStmt(SourceLocation atLoc);
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h398 ObjCAutoreleasePoolStmt(SourceLocation atLoc, Stmt *subStmt) in ObjCAutoreleasePoolStmt() argument
399 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt()
H A DDeclObjC.h1275 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-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1544 SourceLocation atLoc, in Create() argument
1551 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
2403 SourceLocation atLoc, in Create() argument
2409 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4309 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument
4322 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
4324 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4331 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4336 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
H A DTreeTransform.h2465 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument
2467 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3171 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local
3182 InsertText(atLoc, "// "); in RewriteObjCInternalStruct()
3188 SourceLocation atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct() local
3189 InsertText(atLoc, "/* "); in RewriteObjCInternalStruct()
3192 atLoc = LocStart.getLocWithOffset(cursor-startBuf); in RewriteObjCInternalStruct()
3193 InsertText(atLoc, " */"); in RewriteObjCInternalStruct()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5367 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,