/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 47 SourceLocation AtLoc = ConsumeToken(); // the "@" local 58 return ParseObjCAtClassDeclaration(AtLoc); 61 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs); 66 return ParseObjCAtProtocolDeclaration(AtLoc, attrs); 69 return ParseObjCAtImplementationDeclaration(AtLoc); 71 return ParseObjCAtEndDeclaration(AtLoc); 73 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); 76 SingleDecl = ParseObjCPropertySynthesize(AtLoc); 79 SingleDecl = ParseObjCPropertyDynamic(AtLoc); 83 return ParseModuleImport(AtLoc); 133 CheckNestedObjCContexts(SourceLocation AtLoc) argument 143 Actions.ActOnAtEnd(getCurScope(), AtLoc); local 181 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 318 SourceLocation AtLoc; member in struct:Parser::ObjCPropertyCallback 322 ObjCPropertyCallback(Parser &P, SmallVectorImpl<Decl *> &Props, ObjCDeclSpec &OCDS, SourceLocation AtLoc, SourceLocation LParenLoc, tok::ObjCKeywordKind MethodImplKind) argument 450 SourceLocation AtLoc = ConsumeToken(); // the "@" local 1400 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 1492 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument 2057 ParseObjCAtStatement(SourceLocation AtLoc) argument 2090 ParseObjCAtExpression(SourceLocation AtLoc) argument 2615 ParseObjCStringLiteral(SourceLocation AtLoc) argument 2650 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument 2659 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument 2673 ParseObjCNumericLiteral(SourceLocation AtLoc) argument 2686 ParseObjCBoxedExpr(SourceLocation AtLoc) argument 2707 ParseObjCArrayLiteral(SourceLocation AtLoc) argument 2740 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument 2802 ParseObjCEncodeExpression(SourceLocation AtLoc) argument 2827 ParseObjCProtocolExpression(SourceLocation AtLoc) argument 2851 ParseObjCSelectorExpression(SourceLocation AtLoc) argument [all...] |
H A D | Parser.cpp | 900 SourceLocation AtLoc = ConsumeToken(); // the "@" local 912 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID)) 913 Diag(AtLoc, DiagID) << PrevSpec; 916 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); 919 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); 1942 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument 1982 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
|
H A D | ParseExpr.cpp | 130 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument 131 ExprResult LHS(ParseObjCAtExpression(AtLoc)); 1241 SourceLocation AtLoc = ConsumeToken(); local 1242 return ParseObjCAtExpression(AtLoc);
|
H A D | ParseStmt.cpp | 173 SourceLocation AtLoc; local 178 AtLoc = ConsumeToken(); // consume @ 179 return ParseObjCAtStatement(AtLoc);
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 227 SourceLocation AtLoc, 273 MigrateCtx.AtPropsWeak.insert(AtLoc.getRawEncoding()); 285 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc); 287 MigrateCtx.addPropertyAttribute(toAttr, AtLoc); 296 TA.clearDiagnostic(diag::err_objc_property_attr_mutually_exclusive, AtLoc); 313 SourceLocation AtLoc = PD->getAtLoc(); local 314 if (AtLoc.isInvalid()) 316 unsigned RawAt = AtLoc.getRawEncoding(); 323 SourceLocation AtLoc = SourceLocation::getFromRawEncoding(I->first); local 325 checkAllAtProps(MigrateCtx, AtLoc, IndProp 226 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | ExprObjC.h | 31 SourceLocation AtLoc; member in class:clang::ObjCStringLiteral 36 String(SL), AtLoc(L) {} 44 SourceLocation getAtLoc() const { return AtLoc; } 45 void setAtLoc(SourceLocation L) { AtLoc = L; } 47 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } 349 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr 358 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {} 363 SourceLocation getAtLoc() const { return AtLoc; } 364 void setAtLoc(SourceLocation L) { AtLoc = L; } 375 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } 389 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr 431 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr [all...] |
H A D | StmtObjC.h | 345 SourceLocation AtLoc; member in class:clang::ObjCAutoreleasePoolStmt 350 SubStmt(subStmt), AtLoc(atLoc) {} 359 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } 362 SourceLocation getAtLoc() const { return AtLoc; } 363 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; }
|
H A D | DeclObjC.h | 1575 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument 1580 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), 1589 SourceLocation AtLoc, 2016 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl 2034 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), 2052 SourceLocation getAtLoc() const { return AtLoc; } 2053 void setAtLoc(SourceLocation L) { AtLoc = L; } 2149 return SourceRange(AtLoc, getLocation()); 2174 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl 2203 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 142 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, argument 174 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, 187 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, 196 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, 341 SourceLocation AtLoc, 367 Diag(AtLoc, diag::err_duplicate_property); 379 PropertyId, AtLoc, LParenLoc, T); 412 CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc, 441 Diag(AtLoc, 459 Diag(AtLoc, dia 340 HandlePropertyInClassExtension(Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc, FieldDeclarator &FD, Selector GetterSel, Selector SetterSel, const bool isAssign, const bool isReadWrite, const unsigned Attributes, const unsigned AttributesAsWritten, bool *isOverridingProperty, TypeSourceInfo *T, tok::ObjCKeywordKind MethodImplKind) argument 535 CreatePropertyDecl(Scope *S, ObjCContainerDecl *CDecl, SourceLocation AtLoc, SourceLocation LParenLoc, FieldDeclarator &FD, Selector GetterSel, Selector SetterSel, const bool isAssign, const bool isReadWrite, const unsigned Attributes, const unsigned AttributesAsWritten, TypeSourceInfo *TInfo, tok::ObjCKeywordKind MethodImplKind, DeclContext *lexicalDC) argument 762 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument 815 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) argument [all...] |
H A D | SemaExprObjC.cpp | 79 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ argument 100 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, 115 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc, 140 return new (Context) ObjCStringLiteral(S, Ty, AtLoc); 257 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { argument 285 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType, 304 SourceRange(AtLoc, NR.getEnd()))); 307 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, argument 321 return BuildObjCNumericLiteral(AtLoc, Inner.get()); 932 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument 963 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument 978 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc) argument 1038 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument [all...] |
H A D | SemaStmt.cpp | 2919 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument 2926 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body)); 2930 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument 2931 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body)); 2935 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument 2938 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; 2942 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try, 2948 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument 2965 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object) 2970 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Thro 2974 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument 3013 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument 3032 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument [all...] |
H A D | TreeTransform.h | 1239 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument 1243 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts, 1263 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument 1267 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, 1275 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument 1277 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body); 1284 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument 1286 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand); 1359 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument 1361 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec 1368 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument 2394 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument [all...] |
H A D | SemaDeclObjC.cpp | 618 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument 655 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
|
H A D | SemaDecl.cpp | 12901 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument 12924 AtLoc.isValid()? AtLoc : ImportLoc,
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/ |
H A D | Parser.h | 743 void CheckNestedObjCContexts(SourceLocation AtLoc); 1159 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, 1202 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc); 1253 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc); 1461 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc); 1462 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc); 1463 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc); 1464 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue); 1465 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc); 1466 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc); [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclObjC.cpp | 1546 SourceLocation AtLoc, 1553 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, 1758 SourceLocation AtLoc, 1762 return new (C) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T); 1801 return SourceRange(AtLoc, EndLoc); 1545 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument 1755 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, TypeSourceInfo *T, PropertyControl propControl) argument
|
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | Sema.h | 1601 /// \param AtLoc The location of the '@' symbol, if any. 1606 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc, 2657 SourceLocation AtLoc, 2674 SourceLocation AtLoc, 3001 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen, 3004 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body); 3006 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, 3009 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw); 3010 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, 3014 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, [all...] |