/external/clang/lib/Parse/ |
H A D | ParseObjc.cpp | 33 SourceLocation AtLoc = ConsumeToken(); // the "@" local 44 return ParseObjCAtClassDeclaration(AtLoc); 47 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs); 52 return ParseObjCAtProtocolDeclaration(AtLoc, attrs); 55 return ParseObjCAtImplementationDeclaration(AtLoc); 57 return ParseObjCAtEndDeclaration(AtLoc); 59 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); 62 SingleDecl = ParseObjCPropertySynthesize(AtLoc); 65 SingleDecl = ParseObjCPropertyDynamic(AtLoc); 69 return ParseModuleImport(AtLoc); 118 CheckNestedObjCContexts(SourceLocation AtLoc) argument 128 Actions.ActOnAtEnd(getCurScope(), AtLoc); local 166 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 298 SourceLocation AtLoc; member in struct:Parser::ObjCPropertyCallback 302 ObjCPropertyCallback(Parser &P, SmallVectorImpl<Decl *> &Props, ObjCDeclSpec &OCDS, SourceLocation AtLoc, SourceLocation LParenLoc, tok::ObjCKeywordKind MethodImplKind) argument 429 SourceLocation AtLoc = ConsumeToken(); // the "@" local 1365 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 1455 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument 2005 ParseObjCAtStatement(SourceLocation AtLoc) argument 2038 ParseObjCAtExpression(SourceLocation AtLoc) argument 2562 ParseObjCStringLiteral(SourceLocation AtLoc) argument 2597 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument 2606 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument 2620 ParseObjCNumericLiteral(SourceLocation AtLoc) argument 2633 ParseObjCBoxedExpr(SourceLocation AtLoc) argument 2654 ParseObjCArrayLiteral(SourceLocation AtLoc) argument 2687 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument 2748 ParseObjCEncodeExpression(SourceLocation AtLoc) argument 2774 ParseObjCProtocolExpression(SourceLocation AtLoc) argument 2799 ParseObjCSelectorExpression(SourceLocation AtLoc) argument [all...] |
H A D | Parser.cpp | 850 SourceLocation AtLoc = ConsumeToken(); // the "@" local 862 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID)) 863 Diag(AtLoc, DiagID) << PrevSpec; 866 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); 869 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); 1842 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument 1876 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
|
H A D | ParseExpr.cpp | 191 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument 192 ExprResult LHS(ParseObjCAtExpression(AtLoc)); 1252 SourceLocation AtLoc = ConsumeToken(); local 1253 return ParseObjCAtExpression(AtLoc);
|
H A D | ParseStmt.cpp | 113 SourceLocation AtLoc; local 118 AtLoc = ConsumeToken(); // consume @ 119 return ParseObjCAtStatement(AtLoc);
|
/external/clang/lib/ARCMigrate/ |
H A D | TransGCAttrs.cpp | 228 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 227 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument [all...] |
/external/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; } 48 return SourceRange(AtLoc, String->getLocEnd()); 342 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr 351 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {} 356 SourceLocation getAtLoc() const { return AtLoc; } 357 void setAtLoc(SourceLocation L) { AtLoc = L; } 369 return SourceRange(AtLoc, RParenLo 384 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr 424 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr [all...] |
H A D | StmtObjC.h | 350 SourceLocation AtLoc; member in class:clang::ObjCAutoreleasePoolStmt 355 SubStmt(subStmt), AtLoc(atLoc) {} 365 return SourceRange(AtLoc, SubStmt->getLocEnd()); 368 SourceLocation getAtLoc() const { return AtLoc; } 369 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; }
|
H A D | DeclObjC.h | 1326 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument 1331 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), 1339 SourceLocation AtLoc, 1750 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl 1768 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), 1786 SourceLocation getAtLoc() const { return AtLoc; } 1787 void setAtLoc(SourceLocation L) { AtLoc = L; } 1883 return SourceRange(AtLoc, getLocation()); 1906 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl 1935 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo [all...] |
/external/clang/lib/Sema/ |
H A D | SemaObjCProperty.cpp | 114 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, argument 145 Decl *Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc, 153 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, false); 161 ObjCPropertyDecl *Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, 171 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, 255 SourceLocation AtLoc, 280 Diag(AtLoc, diag::err_duplicate_property); 291 PropertyId, AtLoc, LParenLoc, T); 320 CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc, 349 Diag(AtLoc, 254 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 423 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 707 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) argument [all...] |
H A D | SemaStmt.cpp | 2531 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument 2538 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body)); 2542 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument 2543 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body)); 2547 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument 2550 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; 2554 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try, 2560 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument 2573 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object) 2578 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Thro 2582 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument 2621 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument 2640 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) 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()); 920 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument 951 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument 966 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc) argument 1016 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument [all...] |
H A D | TreeTransform.h | 1189 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument 1193 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts, 1213 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument 1217 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, 1225 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument 1227 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body); 1234 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument 1236 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand); 1252 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument 1254 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec 1261 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument 2261 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument [all...] |
H A D | SemaDeclObjC.cpp | 558 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument 598 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
|
H A D | SemaDecl.cpp | 11021 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument 11044 AtLoc.isValid()? AtLoc : ImportLoc,
|
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 719 void CheckNestedObjCContexts(SourceLocation AtLoc); 1116 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, 1155 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc); 1199 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc); 1394 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc); 1395 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc); 1396 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc); 1397 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue); 1398 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc); 1399 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc); [all...] |
/external/clang/lib/AST/ |
H A D | DeclObjC.cpp | 1091 SourceLocation AtLoc, 1098 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, 1302 SourceLocation AtLoc, 1306 return new (C) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T); 1345 return SourceRange(AtLoc, EndLoc); 1090 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument 1299 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, TypeSourceInfo *T, PropertyControl propControl) argument
|
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 1362 /// \param AtLoc The location of the '@' symbol, if any. 1367 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc, 2301 SourceLocation AtLoc, 2318 SourceLocation AtLoc, 2589 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen, 2592 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body); 2594 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, 2597 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw); 2598 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, 2602 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, [all...] |