Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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
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 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseObjc.cpp131 Parser::ParseObjCAtClassDeclaration(SourceLocation atLoc) { in ParseObjCAtClassDeclaration() argument
160 return Actions.ActOnForwardClassDeclaration(atLoc, ClassNames.data(), in ParseObjCAtClassDeclaration()
1867 void Parser::HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc, in HelperActionsForIvarDeclarations() argument
1879 Actions.ActOnFields(getCurScope(), atLoc, interfaceDecl, AllIvarDecls, in HelperActionsForIvarDeclarations()
1907 SourceLocation atLoc) { in ParseObjCClassInstanceVariables() argument
1949 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables()
2000 HelperActionsForIvarDeclarations(interfaceDecl, atLoc, in ParseObjCClassInstanceVariables()
2285 Decl *Parser::ParseObjCAtAliasDeclaration(SourceLocation atLoc) { in ParseObjCAtAliasDeclaration() argument
2298 return Actions.ActOnCompatibilityAlias(atLoc, aliasId, aliasLoc, in ParseObjCAtAliasDeclaration()
2313 Decl *Parser::ParseObjCPropertySynthesize(SourceLocation atLoc) { in ParseObjCPropertySynthesize() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h1602 DeclGroupPtrTy ParseObjCAtClassDeclaration(SourceLocation atLoc);
1612 void HelperActionsForIvarDeclarations(Decl *interfaceDecl, SourceLocation atLoc,
1618 SourceLocation atLoc);
1668 DeclGroupPtrTy ParseObjCAtProtocolDeclaration(SourceLocation atLoc,
1697 Decl *ParseObjCAtAliasDeclaration(SourceLocation atLoc);
1698 Decl *ParseObjCPropertySynthesize(SourceLocation atLoc);
1699 Decl *ParseObjCPropertyDynamic(SourceLocation atLoc);
2157 StmtResult ParseObjCAtStatement(SourceLocation atLoc,
2159 StmtResult ParseObjCTryStmt(SourceLocation atLoc);
2160 StmtResult ParseObjCThrowStmt(SourceLocation atLoc);
[all …]
/netbsd-src/external/apache2/llvm/dist/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,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp4262 Sema::ActOnObjCAtSynchronizedOperand(SourceLocation atLoc, Expr *operand) { in ActOnObjCAtSynchronizedOperand() argument
4275 if (RequireCompleteType(atLoc, type, in ActOnObjCAtSynchronizedOperand()
4277 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4284 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
4289 return Diag(atLoc, diag::err_objc_synchronized_expects_object) in ActOnObjCAtSynchronizedOperand()
H A DTreeTransform.h2249 ExprResult RebuildObjCAtSynchronizedOperand(SourceLocation atLoc, in RebuildObjCAtSynchronizedOperand() argument
2251 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object); in RebuildObjCAtSynchronizedOperand()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3183 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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4819 ExprResult ActOnObjCAtSynchronizedOperand(SourceLocation atLoc,