Home
last modified time | relevance | path

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

/freebsd-13.1/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.cpp382 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()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp131 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument
2000 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables()
2349 getCurScope(), atLoc, propertyLoc, true, in ParseObjCPropertySynthesize()
2411 getCurScope(), atLoc, propertyLoc, false, in ParseObjCPropertyDynamic()
2427 StmtResult Parser::ParseObjCThrowStmt(SourceLocation atLoc) { in ParseObjCThrowStmt() argument
2446 Parser::ParseObjCSynchronizedStmt(SourceLocation atLoc) { in ParseObjCSynchronizedStmt() argument
2505 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt() argument
2612 Diag(atLoc, diag::err_missing_catch_finally); in ParseObjCTryStmt()
2616 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(), in ParseObjCTryStmt()
2625 Parser::ParseObjCAutoreleasePoolStmt(SourceLocation atLoc) { in ParseObjCAutoreleasePoolStmt() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1603 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc);
1619 SourceLocation atLoc);
1669 DeclGroupPtrTy ParseObjCAtProtocolDeclaration(SourceLocation atLoc,
1698 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc);
1699 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc);
1700 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc);
2159 StmtResult ParseObjCAtStatement(SourceLocation atLoc,
2161 StmtResult ParseObjCTryStmt(SourceLocation atLoc);
2162 StmtResult ParseObjCThrowStmt(SourceLocation atLoc);
2163 StmtResult ParseObjCSynchronizedStmt(SourceLocation atLoc);
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h373 ObjCAutoreleasePoolStmt(SourceLocation atLoc, Stmt *subStmt) in ObjCAutoreleasePoolStmt() argument
374 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt()
H A DDeclObjC.h1262 SourceLocation atLoc,
2778 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() argument
2783 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl()
2792 SourceLocation atLoc, SourceLocation L,
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp1493 SourceLocation atLoc, in Create() argument
1500 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
2310 SourceLocation atLoc, in Create() argument
2316 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp4210 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument
4223 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
4225 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4232 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4237 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
H A DTreeTransform.h2263 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument
2265 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4855 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,