| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 85 Diag(AtLoc, diag::err_atimport); in ParseObjCAtDirectives() 89 Diag(AtLoc, diag::err_unexpected_at); in ParseObjCAtDirectives() 174 CurParsedObjCImpl->finish(AtLoc); in CheckNestedObjCContexts() 178 Diag(AtLoc, diag::err_objc_missing_end) in CheckNestedObjCContexts() 217 CheckNestedObjCContexts(AtLoc); in ParseObjCAtInterfaceDeclaration() 665 AtEnd.setBegin(AtLoc); in ParseObjCInterfaceDeclList() 2020 CheckNestedObjCContexts(AtLoc); in ParseObjCAtProtocolDeclaration() 2080 CheckNestedObjCContexts(AtLoc); in ParseObjCAtImplementationDeclaration() 2715 return ParseObjCTryStmt(AtLoc); in ParseObjCAtStatement() 2732 ExprStatementTokLoc = AtLoc; in ParseObjCAtStatement() [all …]
|
| H A D | Parser.cpp | 982 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseDeclOrFunctionDefInternal() local 994 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal() 996 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal() 999 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal() 1002 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal() 2124 Decl *Parser::ParseModuleImport(SourceLocation AtLoc) { in ParseModuleImport() argument 2125 assert((AtLoc.isInvalid() ? Tok.is(tok::kw_import) in ParseModuleImport() 2130 SourceLocation StartLoc = AtLoc.isInvalid() ? ImportLoc : AtLoc; in ParseModuleImport() 2154 if (IsObjCAtImport && AtLoc.isValid()) { in ParseModuleImport() 2156 auto *FE = SrcMgr.getFileEntryForID(SrcMgr.getFileID(AtLoc)); in ParseModuleImport() [all …]
|
| H A D | ParseStmt.cpp | 163 SourceLocation AtLoc; in ParseStatementOrDeclarationAfterAttributes() local 168 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes() 169 return ParseObjCAtStatement(AtLoc); in ParseStatementOrDeclarationAfterAttributes()
|
| H A D | ParseExpr.cpp | 134 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { in ParseExpressionWithLeadingAt() argument 135 ExprResult LHS(ParseObjCAtExpression(AtLoc)); in ParseExpressionWithLeadingAt() 1420 SourceLocation AtLoc = ConsumeToken(); in ParseCastExpression() local 1421 return ParseObjCAtExpression(AtLoc); in ParseCastExpression()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 53 SourceLocation AtLoc; variable 59 String(SL), AtLoc(L) {} in ObjCStringLiteral() 67 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 68 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 388 SourceLocation AtLoc, RParenLoc; 403 void setAtLoc(SourceLocation L) { AtLoc = L; } 431 SourceLocation AtLoc, RParenLoc; 447 void setAtLoc(SourceLocation L) { AtLoc = L; } 476 SourceLocation AtLoc, ProtoLoc, RParenLoc; 1640 SourceLocation AtLoc, RParen; [all …]
|
| H A D | StmtObjC.h | 346 SourceLocation AtLoc; variable 351 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {} in ObjCAutoreleasePoolStmt() 360 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() 365 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 366 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; } in setAtLoc()
|
| H A D | DeclObjC.h | 765 SourceLocation AtLoc; 803 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), in ObjCPropertyDecl() 821 SourceLocation getAtLoc() const { return AtLoc; } in getAtLoc() 822 void setAtLoc(SourceLocation L) { AtLoc = L; } in setAtLoc() 950 return SourceRange(AtLoc, getLocation()); in getSourceRange() 2301 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, 2315 SourceLocation AtLoc, 2767 SourceLocation AtLoc; // location of \@synthesize or \@dynamic 2796 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc), in ObjCPropertyImplDecl() 2815 SourceLocation getBeginLoc() const LLVM_READONLY { return AtLoc; } in getBeginLoc() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransGCAttrs.cpp | 218 SourceLocation AtLoc, in checkAllAtProps() argument 264 MigrateCtx.AtPropsWeak.insert(AtLoc.getRawEncoding()); in checkAllAtProps() 276 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc); in checkAllAtProps() 278 MigrateCtx.addPropertyAttribute(toAttr, AtLoc); in checkAllAtProps() 288 TA.clearDiagnostic(diag::err_objc_property_attr_mutually_exclusive, AtLoc); in checkAllAtProps() 305 SourceLocation AtLoc = PD->getAtLoc(); in checkAllProps() local 306 if (AtLoc.isInvalid()) in checkAllProps() 308 unsigned RawAt = AtLoc.getRawEncoding(); in checkAllProps() 315 SourceLocation AtLoc = SourceLocation::getFromRawEncoding(I->first); in checkAllProps() local 317 checkAllAtProps(MigrateCtx, AtLoc, IndProps); in checkAllProps()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaObjCProperty.cpp | 225 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, in ActOnProperty() 450 Diag(AtLoc, diag::err_duplicate_property); in HandlePropertyInClassExtension() 471 Diag(AtLoc, diag) in HandlePropertyInClassExtension() 549 Diag(AtLoc, in HandlePropertyInClassExtension() 643 Diag(AtLoc, diag::err_property_type) << T; in CreatePropertyDecl() 1002 if (AtLoc.isValid()) in SelectPropertyForSynthesisFromProtocols() 1003 S.Diag(AtLoc, diag::note_property_synthesize); in SelectPropertyForSynthesisFromProtocols() 1091 if (AtLoc.isValid()) in ActOnPropertyImplDecl() 1109 !AtLoc.isValid()) { in ActOnPropertyImplDecl() 1169 Diag(AtLoc, diag::err_bad_property_context); in ActOnPropertyImplDecl() [all …]
|
| H A D | SemaExprObjC.cpp | 101 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 116 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, in BuildObjCStringLiteral() 141 return new (Context) ObjCStringLiteral(S, Ty, AtLoc); in BuildObjCStringLiteral() 365 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, in ActOnObjCBoolLiteral() argument 379 return BuildObjCNumericLiteral(AtLoc, Inner.get()); in ActOnObjCBoolLiteral() 1062 if (RequireCompleteType(AtLoc, EncodedType, in BuildObjCEncodeExpression() 1071 Diag(AtLoc, diag::warn_incomplete_encoded_type) in BuildObjCEncodeExpression() 1099 return BuildObjCEncodeExpression(AtLoc, TInfo, RParenLoc); in ParseObjCEncodeExpression() 1120 S.Diag(AtLoc, diag::warn_multiple_selectors) in HelperToDiagnoseMismatchedMethodsInGlobalPool() 1187 ReferencedSelectors.insert(std::make_pair(Sel, AtLoc)); in ParseObjCSelectorExpression() [all …]
|
| H A D | SemaStmt.cpp | 3774 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, in ActOnObjCAtCatchStmt() argument 3781 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body); in ActOnObjCAtCatchStmt() 3785 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { in ActOnObjCAtFinallyStmt() argument 3786 return new (Context) ObjCAtFinallyStmt(AtLoc, Body); in ActOnObjCAtFinallyStmt() 3790 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, in ActOnObjCAtTryStmt() argument 3793 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; in ActOnObjCAtTryStmt() 3823 return new (Context) ObjCAtThrowStmt(AtLoc, Throw); in BuildObjCAtThrowStmt() 3827 Sema::ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, in ActOnObjCAtThrowStmt() argument 3830 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@throw"; in ActOnObjCAtThrowStmt() 3841 return BuildObjCAtThrowStmt(AtLoc, Throw); in ActOnObjCAtThrowStmt() [all …]
|
| H A D | TreeTransform.h | 1426 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, in RebuildObjCAtTryStmt() argument 1450 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, in RebuildObjCAtCatchStmt() argument 1454 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, in RebuildObjCAtCatchStmt() 1462 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, in RebuildObjCAtFinallyStmt() argument 1464 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body); in RebuildObjCAtFinallyStmt() 1471 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, in RebuildObjCAtThrowStmt() argument 1473 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand); in RebuildObjCAtThrowStmt() 1950 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, in RebuildObjCAtSynchronizedStmt() argument 1959 StmtResult RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, in RebuildObjCAutoreleasePoolStmt() argument 1961 return getSema().ActOnObjCAutoreleasePoolStmt(AtLoc, Body); in RebuildObjCAutoreleasePoolStmt() [all …]
|
| H A D | SemaDeclObjC.cpp | 1129 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, in ActOnCompatibilityAlias() argument 1169 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias()
|
| H A D | SemaExpr.cpp | 16845 llvm::ArrayRef<AvailabilitySpec> AvailSpecs, SourceLocation AtLoc, in ActOnObjCAvailabilityCheckExpr() argument 16867 ObjCAvailabilityCheckExpr(Version, AtLoc, RParen, Context.BoolTy); in ActOnObjCAvailabilityCheckExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 1025 void CheckNestedObjCContexts(SourceLocation AtLoc); 1457 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, 1833 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc); 1834 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc); 1835 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc); 1837 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc); 1838 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc); 1839 ExprResult ParseObjCBoxedExpr(SourceLocation AtLoc); 1840 ExprResult ParseObjCEncodeExpression(SourceLocation AtLoc); 1841 ExprResult ParseObjCSelectorExpression(SourceLocation AtLoc); [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 1482 SourceLocation AtLoc, IdentifierInfo *Id, in ObjCInterfaceDecl() argument 1487 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc), in ObjCInterfaceDecl() 1974 ObjCCategoryDecl::ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, in ObjCCategoryDecl() argument 1981 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), in ObjCCategoryDecl() 1988 SourceLocation AtLoc, in Create() argument 1997 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id, in Create() 2222 SourceLocation AtLoc, in Create() argument 2227 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI, in Create() 2271 return SourceRange(AtLoc, EndLoc); in getSourceRange()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3488 SourceLocation AtLoc, 3506 SourceLocation AtLoc, 3906 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, 3910 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, 3914 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, 5715 ExprResult BuildObjCEncodeExpression(SourceLocation AtLoc, 5722 ExprResult ParseObjCEncodeExpression(SourceLocation AtLoc, 5730 SourceLocation AtLoc, 5738 SourceLocation AtLoc, 8141 Decl *ActOnProperty(Scope *S, SourceLocation AtLoc, [all …]
|
| /freebsd-12.1/contrib/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 1084 SMLoc AtLoc = getLexer().getLoc(); in parsePrimaryExpr() local 1087 return Error(AtLoc, "expected symbol variant after '@'"); in parsePrimaryExpr()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/ |
| H A D | ASTReaderStmt.cpp | 1296 E->AtLoc = R.getBegin(); in VisitObjCAvailabilityCheckExpr()
|