| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 48 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseObjCAtDirectives() local 71 return ParseObjCAtClassDeclaration(AtLoc); in ParseObjCAtDirectives() 73 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, DeclAttrs); in ParseObjCAtDirectives() 76 return ParseObjCAtProtocolDeclaration(AtLoc, DeclAttrs); in ParseObjCAtDirectives() 78 return ParseObjCAtImplementationDeclaration(AtLoc, DeclAttrs); in ParseObjCAtDirectives() 80 return ParseObjCAtEndDeclaration(AtLoc); in ParseObjCAtDirectives() 82 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); in ParseObjCAtDirectives() 85 SingleDecl = ParseObjCPropertySynthesize(AtLoc); in ParseObjCAtDirectives() 88 SingleDecl = ParseObjCPropertyDynamic(AtLoc); in ParseObjCAtDirectives() 93 SingleDecl = ParseModuleImport(AtLoc, IS); in ParseObjCAtDirectives() [all …]
|
| H A D | Parser.cpp | 1148 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseDeclOrFunctionDefInternal() local 1162 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal() 1164 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 1167 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal() 1170 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal() 1173 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal() 2426 Decl *Parser::ParseModuleImport(SourceLocation AtLoc, in ParseModuleImport() argument 2428 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport() 2433 assert((AtLoc.isInvalid() ? Tok.isOneOf(tok::kw_import, tok::identifier) in ParseModuleImport() 2540 if (IsObjCAtImport && AtLoc.isValid()) { in ParseModuleImport() [all …]
|
| H A D | ParseStmt.cpp | 143 SourceLocation AtLoc; in ParseStatementOrDeclarationAfterAttributes() local 147 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes() 148 return ParseObjCAtStatement(AtLoc, StmtCtx); in ParseStatementOrDeclarationAfterAttributes()
|
| H A D | ParseExpr.cpp | 53 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { in ParseExpressionWithLeadingAt() argument 54 ExprResult LHS(ParseObjCAtExpression(AtLoc)); in ParseExpressionWithLeadingAt() 1521 SourceLocation AtLoc = ConsumeToken(); in ParseCastExpression() local 1522 return ParseObjCAtExpression(AtLoc); in ParseCastExpression()
|
| /freebsd/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() 71 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() 410 SourceLocation AtLoc, RParenLoc; variable 416 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) { in ObjCEncodeExpr() 422 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 423 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 435 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() [all …]
|
| H A D | StmtObjC.h | 395 SourceLocation AtLoc; variable 400 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt() 409 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() 414 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 415 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; } in setAtLoc()
|
| H A D | DeclObjC.h | 737 SourceLocation AtLoc; 777 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), in ObjCPropertyDecl() 793 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 794 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 926 return SourceRange(AtLoc, getLocation()); in getSourceRange() 1243 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, 2347 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, 2361 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, 2810 SourceLocation AtLoc; // location of \@synthesize or \@dynamic 2844 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | SemaObjC.h | 65 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen, 68 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body); 70 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, 73 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw); 74 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, 78 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SynchExpr, 81 StmtResult ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body); 654 ExprResult BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S); 659 ExprResult BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number); 660 ExprResult ActOnObjCBoolLiteral(SourceLocation AtLoc, SourceLocation ValueLoc, [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 172 Decl *SemaObjC::ActOnProperty(Scope *S, SourceLocation AtLoc, in ActOnProperty() argument 184 Diag(AtLoc, diag::err_ptrauth_qualifier_invalid) << T << 2; in ActOnProperty() 198 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, in ActOnProperty() 211 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, in ActOnProperty() 221 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, in ActOnProperty() 406 Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc, in HandlePropertyInClassExtension() argument 435 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 456 Diag(AtLoc, diag) in HandlePropertyInClassExtension() 466 Diag(AtLoc, diag::warn_property_redecl_getter_mismatch) in HandlePropertyInClassExtension() 483 Diag(AtLoc, diag::warn_property_attr_mismatch); in HandlePropertyInClassExtension() [all …]
|
| H A D | SemaObjC.cpp | 202 StmtResult SemaObjC::ActOnObjCAtCatchStmt(SourceLocation AtLoc, in ActOnObjCAtCatchStmt() argument 210 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body); in ActOnObjCAtCatchStmt() 213 StmtResult SemaObjC::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAtFinallyStmt() argument 215 return new (Context) ObjCAtFinallyStmt(AtLoc, Body); in ActOnObjCAtFinallyStmt() 218 StmtResult SemaObjC::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, in ActOnObjCAtTryStmt() argument 223 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; in ActOnObjCAtTryStmt() 228 Diag(AtLoc, diag::err_mixing_cxx_try_seh_try) << 1; in ActOnObjCAtTryStmt() 232 FSI->setHasObjCTry(AtLoc); in ActOnObjCAtTryStmt() 234 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(), in ActOnObjCAtTryStmt() 238 StmtResult SemaObjC::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { in BuildObjCAtThrowStmt() argument [all …]
|
| H A D | SemaExprObjC.cpp | 83 ExprResult SemaObjC::BuildObjCStringLiteral(SourceLocation AtLoc, in BuildObjCStringLiteral() argument 106 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 121 NamedDecl *IF = SemaRef.LookupSingleName(SemaRef.TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 146 return new (Context) ObjCStringLiteral(S, Ty, AtLoc); in BuildObjCStringLiteral() 320 ExprResult SemaObjC::BuildObjCNumericLiteral(SourceLocation AtLoc, in BuildObjCNumericLiteral() argument 351 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, in BuildObjCNumericLiteral() 368 Number, NSNumberPointer, Method, SourceRange(AtLoc, NR.getEnd()))); in BuildObjCNumericLiteral() 371 ExprResult SemaObjC::ActOnObjCBoolLiteral(SourceLocation AtLoc, in ActOnObjCBoolLiteral() argument 386 return BuildObjCNumericLiteral(AtLoc, Inner.get()); in ActOnObjCBoolLiteral() 1130 ExprResult SemaObjC::BuildObjCEncodeExpression(SourceLocation AtLoc, in BuildObjCEncodeExpression() argument [all …]
|
| H A D | TreeTransform.h | 1604 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, in RebuildObjCAtTryStmt() argument 1608 return getSema().ObjC().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts, in RebuildObjCAtTryStmt() 1627 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, in RebuildObjCAtCatchStmt() argument 1631 return getSema().ObjC().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, Var, Body); in RebuildObjCAtCatchStmt() 1638 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, in RebuildObjCAtFinallyStmt() argument 1640 return getSema().ObjC().ActOnObjCAtFinallyStmt(AtLoc, Body); in RebuildObjCAtFinallyStmt() 1647 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, in RebuildObjCAtThrowStmt() argument 1649 return getSema().ObjC().BuildObjCAtThrowStmt(AtLoc, Operand); in RebuildObjCAtThrowStmt() 2535 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, in RebuildObjCAtSynchronizedStmt() argument 2537 return getSema().ObjC().ActOnObjCAtSynchronizedStmt(AtLoc, Object, Body); in RebuildObjCAtSynchronizedStmt() [all …]
|
| H A D | SemaDeclObjC.cpp | 1142 Decl *SemaObjC::ActOnCompatibilityAlias(SourceLocation AtLoc, in ActOnCompatibilityAlias() argument 1183 Context, SemaRef.CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1055 Decl *ParseModuleImport(SourceLocation AtLoc, 3835 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc); 5389 void CheckNestedObjCContexts(SourceLocation AtLoc); 5454 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, 5649 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc, 5805 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc); 5812 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc); 5821 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc); 5830 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue); 5832 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1561 const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, in ObjCInterfaceDecl() argument 1564 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl() 2115 DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, in ObjCCategoryDecl() argument 2119 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), in ObjCCategoryDecl() 2126 ASTContext &C, DeclContext *DC, SourceLocation AtLoc, in Create() argument 2132 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id, in Create() 2353 const IdentifierInfo *Id, SourceLocation AtLoc, in Create() argument 2356 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI, in Create() 2405 return SourceRange(AtLoc, EndLoc); in getSourceRange()
|
| /freebsd/contrib/llvm-project/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 1184 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr() local 1187 return Error(AtLoc, "expected symbol variant after '@'"); in parsePrimaryExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1682 E->AtLoc = R.getBegin(); in VisitObjCAvailabilityCheckExpr()
|