| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 102 Diag(AtLoc, diag::err_atimport); in ParseObjCAtDirectives() 106 Diag(AtLoc, diag::err_unexpected_at); in ParseObjCAtDirectives() 196 CurParsedObjCImpl->finish(AtLoc); in CheckNestedObjCContexts() 200 Diag(AtLoc, diag::err_objc_missing_end) in CheckNestedObjCContexts() 239 CheckNestedObjCContexts(AtLoc); in ParseObjCAtInterfaceDeclaration() 733 AtEnd.setBegin(AtLoc); in ParseObjCInterfaceDeclList() 2098 CheckNestedObjCContexts(AtLoc); in ParseObjCAtProtocolDeclaration() 2171 CheckNestedObjCContexts(AtLoc); in ParseObjCAtImplementationDeclaration() 2808 return ParseObjCTryStmt(AtLoc); in ParseObjCAtStatement() 2825 ExprStatementTokLoc = AtLoc; in ParseObjCAtStatement() [all …]
|
| H A D | Parser.cpp | 1205 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseDeclOrFunctionDefInternal() local 1221 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 1224 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal() 1227 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal() 1230 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal() 2534 Decl *Parser::ParseModuleImport(SourceLocation AtLoc, in ParseModuleImport() argument 2536 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport() 2541 assert((AtLoc.isInvalid() ? Tok.isOneOf(tok::kw_import, tok::identifier) in ParseModuleImport() 2649 if (IsObjCAtImport && AtLoc.isValid()) { in ParseModuleImport() 2651 auto FE = SrcMgr.getFileEntryRefForID(SrcMgr.getFileID(AtLoc)); in ParseModuleImport() [all …]
|
| H A D | ParseStmt.cpp | 182 SourceLocation AtLoc; in ParseStatementOrDeclarationAfterAttributes() local 186 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes() 187 return ParseObjCAtStatement(AtLoc, StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
|
| H A D | ParseExpr.cpp | 137 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { in ParseExpressionWithLeadingAt() argument 138 ExprResult LHS(ParseObjCAtExpression(AtLoc)); in ParseExpressionWithLeadingAt() 1777 SourceLocation AtLoc = ConsumeToken(); in ParseCastExpression() local 1778 return ParseObjCAtExpression(AtLoc); in ParseCastExpression()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | TransGCAttrs.cpp | 220 SourceLocation AtLoc, in checkAllAtProps() argument 265 MigrateCtx.AtPropsWeak.insert(AtLoc); in checkAllAtProps() 277 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc); in checkAllAtProps() 279 MigrateCtx.addPropertyAttribute(toAttr, AtLoc); in checkAllAtProps() 289 TA.clearDiagnostic(diag::err_objc_property_attr_mutually_exclusive, AtLoc); in checkAllAtProps() 306 SourceLocation AtLoc = PD->getAtLoc(); in checkAllProps() local 307 if (AtLoc.isInvalid()) in checkAllProps() 309 AtProps[AtLoc].push_back(PD); in checkAllProps() 314 SourceLocation AtLoc = I->first; in checkAllProps() local 316 checkAllAtProps(MigrateCtx, AtLoc, IndProps); in checkAllProps()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 53 SourceLocation AtLoc; variable 58 AtLoc(L) { in ObjCStringLiteral() 68 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 69 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 412 SourceLocation AtLoc, RParenLoc; variable 425 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 457 SourceLocation AtLoc, RParenLoc; variable 474 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 507 SourceLocation AtLoc, ProtoLoc, RParenLoc; variable 1700 SourceLocation AtLoc, RParen; variable [all …]
|
| H A D | StmtObjC.h | 394 SourceLocation AtLoc; variable 399 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt() 408 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() 413 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 414 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; } in setAtLoc()
|
| H A D | DeclObjC.h | 738 SourceLocation AtLoc; 778 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), in ObjCPropertyDecl() 792 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 793 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 925 return SourceRange(AtLoc, getLocation()); in getSourceRange() 2344 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, 2358 SourceLocation AtLoc, 2810 SourceLocation AtLoc; // location of \@synthesize or \@dynamic 2844 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() 2863 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 220 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, in ActOnProperty() 443 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 464 Diag(AtLoc, diag) in HandlePropertyInClassExtension() 542 Diag(AtLoc, in HandlePropertyInClassExtension() 637 Diag(AtLoc, diag::err_property_type) << T; in CreatePropertyDecl() 1007 if (AtLoc.isValid()) in SelectPropertyForSynthesisFromProtocols() 1008 S.Diag(AtLoc, diag::note_property_synthesize); in SelectPropertyForSynthesisFromProtocols() 1053 Context, AtLoc.isValid() ? AtLoc : Decl->getBeginLoc(), in RedeclarePropertyAccessor() 1123 if (AtLoc.isValid()) in ActOnPropertyImplDecl() 1198 Diag(AtLoc, diag::err_bad_property_context); in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 103 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 118 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 143 return new (Context) ObjCStringLiteral(S, Ty, AtLoc); in BuildObjCStringLiteral() 368 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, in ActOnObjCBoolLiteral() argument 382 return BuildObjCNumericLiteral(AtLoc, Inner.get()); in ActOnObjCBoolLiteral() 1138 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression() 1147 Diag(AtLoc, diag::warn_incomplete_encoded_type) in BuildObjCEncodeExpression() 1191 S.Diag(AtLoc, diag::warn_multiple_selectors) in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1323 Diag(AtLoc, diag::err_direct_selector_expression) in ParseObjCSelectorExpression() 1353 ReferencedSelectors.insert(std::make_pair(Sel, AtLoc)); in ParseObjCSelectorExpression() [all …]
|
| H A D | SemaStmt.cpp | 4231 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, in ActOnObjCAtCatchStmt() argument 4242 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAtFinallyStmt() argument 4243 return new (Context) ObjCAtFinallyStmt(AtLoc, Body); in ActOnObjCAtFinallyStmt() 4247 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, in ActOnObjCAtTryStmt() argument 4250 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; in ActOnObjCAtTryStmt() 4255 Diag(AtLoc, diag::err_mixing_cxx_try_seh_try) << 1; in ActOnObjCAtTryStmt() 4259 FSI->setHasObjCTry(AtLoc); in ActOnObjCAtTryStmt() 4287 return new (Context) ObjCAtThrowStmt(AtLoc, Throw); in BuildObjCAtThrowStmt() 4291 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, in ActOnObjCAtThrowStmt() argument 4305 return BuildObjCAtThrowStmt(AtLoc, Throw); in ActOnObjCAtThrowStmt() [all …]
|
| H A D | TreeTransform.h | 1589 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, in RebuildObjCAtTryStmt() argument 1613 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, in RebuildObjCAtCatchStmt() argument 1617 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, in RebuildObjCAtCatchStmt() 1625 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, in RebuildObjCAtFinallyStmt() argument 1627 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body); in RebuildObjCAtFinallyStmt() 1634 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, in RebuildObjCAtThrowStmt() argument 1636 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand); in RebuildObjCAtThrowStmt() 2474 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, in RebuildObjCAtSynchronizedStmt() argument 2483 StmtResult RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, in RebuildObjCAutoreleasePoolStmt() argument 2485 return getSema().ActOnObjCAutoreleasePoolStmt(AtLoc, Body); in RebuildObjCAutoreleasePoolStmt() [all …]
|
| H A D | SemaDeclObjC.cpp | 1145 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, in ActOnCompatibilityAlias() argument 1185 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
|
| H A D | SemaExpr.cpp | 21903 llvm::ArrayRef<AvailabilitySpec> AvailSpecs, SourceLocation AtLoc, in ActOnObjCAvailabilityCheckExpr() argument 21933 ObjCAvailabilityCheckExpr(Version, AtLoc, RParen, Context.BoolTy); in ActOnObjCAvailabilityCheckExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1231 void CheckNestedObjCContexts(SourceLocation AtLoc); 1659 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, 2082 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc); 2083 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc); 2084 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc); 2086 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc); 2087 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc); 2088 ExprResult ParseObjCBoxedExpr(SourceLocation AtLoc); 2089 ExprResult ParseObjCEncodeExpression(SourceLocation AtLoc); 2090 ExprResult ParseObjCSelectorExpression(SourceLocation AtLoc); [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1568 SourceLocation AtLoc, IdentifierInfo *Id, in ObjCInterfaceDecl() argument 1573 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl() 2123 ObjCCategoryDecl::ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, in ObjCCategoryDecl() argument 2130 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), in ObjCCategoryDecl() 2137 SourceLocation AtLoc, in Create() argument 2146 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id, in Create() 2371 SourceLocation AtLoc, in Create() argument 2376 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI, in Create() 2425 return SourceRange(AtLoc, EndLoc); in getSourceRange()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4924 SourceLocation AtLoc, 4942 SourceLocation AtLoc, 5361 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, 5365 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, 5369 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, 7669 ExprResult BuildObjCEncodeExpression(SourceLocation AtLoc, 7676 ExprResult ParseObjCEncodeExpression(SourceLocation AtLoc, 7684 SourceLocation AtLoc, 7692 SourceLocation AtLoc, 10676 Decl *ActOnProperty(Scope *S, SourceLocation AtLoc, [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 1211 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr() local 1214 return Error(AtLoc, "expected symbol variant after '@'"); in parsePrimaryExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1656 E->AtLoc = R.getBegin(); in VisitObjCAvailabilityCheckExpr()
|