/external/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...] |
/external/clang/include/clang/AST/ |
H A D | StmtObjC.h | 346 SourceLocation AtLoc; member in class:clang::ObjCAutoreleasePoolStmt 351 SubStmt(subStmt), AtLoc(atLoc) {} 360 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } 363 SourceLocation getAtLoc() const { return AtLoc; } 364 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; }
|
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; } 348 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr 357 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {} 362 SourceLocation getAtLoc() const { return AtLoc; } 363 void setAtLoc(SourceLocation L) { AtLoc = L; } 374 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; } 388 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr 426 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr [all...] |
H A D | DeclObjC.h | 1549 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument 1554 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc), 1563 SourceLocation AtLoc, 1985 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl 2003 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation), 2021 SourceLocation getAtLoc() const { return AtLoc; } 2022 void setAtLoc(SourceLocation L) { AtLoc = L; } 2118 return SourceRange(AtLoc, getLocation()); 2143 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl 2172 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo [all...] |
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 130 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument 131 ExprResult LHS(ParseObjCAtExpression(AtLoc)); 1220 SourceLocation AtLoc = ConsumeToken(); local 1221 return ParseObjCAtExpression(AtLoc);
|
H A D | ParseStmt.cpp | 113 SourceLocation AtLoc; local 118 AtLoc = ConsumeToken(); // consume @ 119 return ParseObjCAtStatement(AtLoc);
|
H A D | Parser.cpp | 839 SourceLocation AtLoc = ConsumeToken(); // the "@" local 851 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID)) 852 Diag(AtLoc, DiagID) << PrevSpec; 855 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); 858 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); 1834 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument 1868 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
|
H A D | ParseObjc.cpp | 35 SourceLocation AtLoc = ConsumeToken(); // the "@" local 46 return ParseObjCAtClassDeclaration(AtLoc); 49 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs); 54 return ParseObjCAtProtocolDeclaration(AtLoc, attrs); 57 return ParseObjCAtImplementationDeclaration(AtLoc); 59 return ParseObjCAtEndDeclaration(AtLoc); 61 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc); 64 SingleDecl = ParseObjCPropertySynthesize(AtLoc); 67 SingleDecl = ParseObjCPropertyDynamic(AtLoc); 71 return ParseModuleImport(AtLoc); 120 CheckNestedObjCContexts(SourceLocation AtLoc) argument 130 Actions.ActOnAtEnd(getCurScope(), AtLoc); local 168 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 300 SourceLocation AtLoc; member in struct:Parser::ObjCPropertyCallback 304 ObjCPropertyCallback(Parser &P, SmallVectorImpl<Decl *> &Props, ObjCDeclSpec &OCDS, SourceLocation AtLoc, SourceLocation LParenLoc, tok::ObjCKeywordKind MethodImplKind) argument 431 SourceLocation AtLoc = ConsumeToken(); // the "@" local 1370 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument 1460 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument 2010 ParseObjCAtStatement(SourceLocation AtLoc) argument 2043 ParseObjCAtExpression(SourceLocation AtLoc) argument 2567 ParseObjCStringLiteral(SourceLocation AtLoc) argument 2602 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument 2611 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument 2625 ParseObjCNumericLiteral(SourceLocation AtLoc) argument 2638 ParseObjCBoxedExpr(SourceLocation AtLoc) argument 2659 ParseObjCArrayLiteral(SourceLocation AtLoc) argument 2692 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument 2752 ParseObjCEncodeExpression(SourceLocation AtLoc) argument 2777 ParseObjCProtocolExpression(SourceLocation AtLoc) argument 2801 ParseObjCSelectorExpression(SourceLocation AtLoc) argument [all...] |
/external/clang/lib/AST/ |
H A D | DeclObjC.cpp | 1477 SourceLocation AtLoc, 1484 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, 1688 SourceLocation AtLoc, 1692 return new (C) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T); 1731 return SourceRange(AtLoc, EndLoc); 1476 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument 1685 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, TypeSourceInfo *T, PropertyControl propControl) argument
|
/external/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, 326 SourceLocation AtLoc, 352 Diag(AtLoc, diag::err_duplicate_property); 364 PropertyId, AtLoc, LParenLoc, T); 397 CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc, 426 Diag(AtLoc, 442 Diag(AtLoc, dia 325 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 502 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 790 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()); 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 | SemaDeclObjC.cpp | 573 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument 613 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
|
H A D | SemaStmt.cpp | 2595 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument 2602 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body)); 2606 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument 2607 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body)); 2611 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument 2614 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try"; 2618 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try, 2624 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument 2641 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object) 2646 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Thro 2650 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument 2689 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument 2708 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument [all...] |
H A D | SemaDecl.cpp | 11768 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument 11791 AtLoc.isValid()? AtLoc : ImportLoc,
|
H A D | TreeTransform.h | 1198 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument 1202 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts, 1222 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument 1226 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc, 1234 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument 1236 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body); 1243 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument 1245 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand); 1261 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument 1263 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec 1270 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument 2275 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument [all...] |