Searched defs:AtLoc (Results 1 - 15 of 15) sorted by relevance

/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp227 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 DStmtObjC.h346 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 DExprObjC.h31 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
430 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr
[all...]
H A DDeclObjC.h1570 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument
1575 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc),
1584 SourceLocation AtLoc,
2011 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl
2029 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
2047 SourceLocation getAtLoc() const { return AtLoc; }
2048 void setAtLoc(SourceLocation L) { AtLoc = L; }
2144 return SourceRange(AtLoc, getLocation());
2169 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl
2198 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo
[all...]
/external/clang/lib/Parse/
H A DParseExpr.cpp130 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument
131 ExprResult LHS(ParseObjCAtExpression(AtLoc));
1229 SourceLocation AtLoc = ConsumeToken(); local
1230 return ParseObjCAtExpression(AtLoc);
H A DParser.cpp874 SourceLocation AtLoc = ConsumeToken(); // the "@" local
886 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID))
887 Diag(AtLoc, DiagID) << PrevSpec;
890 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes());
893 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()));
1871 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument
1911 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
H A DParseObjc.cpp47 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
315 SourceLocation AtLoc; member in struct:Parser::ObjCPropertyCallback
319 ObjCPropertyCallback(Parser &P, SmallVectorImpl<Decl *> &Props, ObjCDeclSpec &OCDS, SourceLocation AtLoc, SourceLocation LParenLoc, tok::ObjCKeywordKind MethodImplKind) argument
447 SourceLocation AtLoc = ConsumeToken(); // the "@" local
1397 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
1489 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument
2054 ParseObjCAtStatement(SourceLocation AtLoc) argument
2087 ParseObjCAtExpression(SourceLocation AtLoc) argument
2612 ParseObjCStringLiteral(SourceLocation AtLoc) argument
2647 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument
2656 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument
2670 ParseObjCNumericLiteral(SourceLocation AtLoc) argument
2683 ParseObjCBoxedExpr(SourceLocation AtLoc) argument
2704 ParseObjCArrayLiteral(SourceLocation AtLoc) argument
2737 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument
2799 ParseObjCEncodeExpression(SourceLocation AtLoc) argument
2824 ParseObjCProtocolExpression(SourceLocation AtLoc) argument
2848 ParseObjCSelectorExpression(SourceLocation AtLoc) argument
[all...]
H A DParseStmt.cpp126 SourceLocation AtLoc; local
131 AtLoc = ConsumeToken(); // consume @
132 return ParseObjCAtStatement(AtLoc);
/external/clang/lib/AST/
H A DDeclObjC.cpp1545 SourceLocation AtLoc,
1552 ObjCCategoryDecl *CatDecl = new (C) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc,
1757 SourceLocation AtLoc,
1761 return new (C) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T);
1800 return SourceRange(AtLoc, EndLoc);
1544 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
1754 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, TypeSourceInfo *T, PropertyControl propControl) argument
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp142 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
729 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument
851 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) argument
[all...]
H A DSemaDeclObjC.cpp599 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument
636 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
H A DSemaExprObjC.cpp79 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());
915 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument
946 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument
961 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc) argument
1021 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument
[all...]
H A DSemaStmt.cpp2852 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument
2859 return Owned(new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body));
2863 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument
2864 return Owned(new (Context) ObjCAtFinallyStmt(AtLoc, Body));
2868 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument
2871 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
2875 return Owned(ObjCAtTryStmt::Create(Context, AtLoc, Try,
2881 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument
2898 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
2903 return Owned(new (Context) ObjCAtThrowStmt(AtLoc, Thro
2907 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
2946 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument
2965 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
[all...]
H A DSemaDecl.cpp12587 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument
12610 AtLoc.isValid()? AtLoc : ImportLoc,
H A DTreeTransform.h1223 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument
1227 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1247 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument
1251 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1259 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument
1261 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1268 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument
1270 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1323 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument
1325 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec
1332 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
2363 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument
[all...]

Completed in 475 milliseconds