Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp131 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument
1876 ObjCContainerDecl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument
2007 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables()
2356 getCurScope(), atLoc, propertyLoc, true, in ParseObjCPropertySynthesize()
2418 getCurScope(), atLoc, propertyLoc, false, in ParseObjCPropertyDynamic()
2453 Parser::ParseObjCSynchronizedStmt(SourceLocation atLoc) { in ParseObjCSynchronizedStmt() argument
2512 StmtResult Parser::ParseObjCTryStmt(SourceLocation atLoc) { in ParseObjCTryStmt() argument
2620 Diag(atLoc, diag::err_missing_catch_finally); in ParseObjCTryStmt()
2624 return Actions.ActOnObjCAtTryStmt(atLoc, TryBody.get(), in ParseObjCTryStmt()
2633 Parser::ParseObjCAutoreleasePoolStmt(SourceLocation atLoc) { in ParseObjCAutoreleasePoolStmt() argument
[all …]
/llvm-project-15.0.7/clang/include/clang/Parse/
H A DParser.h1618 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc);
1629 SourceLocation atLoc,
1635 SourceLocation atLoc);
1714 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc);
1715 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc);
1716 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc);
2178 StmtResult ParseObjCAtStatement(SourceLocation atLoc,
2180 StmtResult ParseObjCTryStmt(SourceLocation atLoc);
2181 StmtResult ParseObjCThrowStmt(SourceLocation atLoc);
2182 StmtResult ParseObjCSynchronizedStmt(SourceLocation atLoc);
[all …]
/llvm-project-15.0.7/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.h1264 SourceLocation atLoc,
2790 ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L, in ObjCPropertyImplDecl() argument
2795 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl()
2804 SourceLocation atLoc, SourceLocation L,
/llvm-project-15.0.7/clang/lib/AST/
H A DDeclObjC.cpp1509 SourceLocation atLoc, in Create() argument
1516 ObjCInterfaceDecl(C, DC, atLoc, Id, typeParamList, ClassLoc, PrevDecl, in Create()
2331 SourceLocation atLoc, in Create() argument
2337 return new (C, DC) ObjCPropertyImplDecl(DC, atLoc, L, property, PK, ivar, in Create()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaStmt.cpp4282 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument
4295 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
4297 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4304 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4309 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
H A DTreeTransform.h2318 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument
2320 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h5118 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,