Searched refs:AtLoc (Results 1 - 18 of 18) sorted by relevance

/external/clang/lib/Parse/
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);
131 CheckNestedObjCContexts(SourceLocation AtLoc) argument
141 Actions.ActOnAtEnd(getCurScope(), AtLoc); local
179 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
385 SourceLocation AtLoc = ConsumeToken(); // the "@" local
1354 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
1445 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument
2009 ParseObjCAtStatement(SourceLocation AtLoc) argument
2048 ParseObjCAtExpression(SourceLocation AtLoc) argument
2574 ParseObjCStringLiteral(SourceLocation AtLoc) argument
2609 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument
2618 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument
2632 ParseObjCNumericLiteral(SourceLocation AtLoc) argument
2645 ParseObjCBoxedExpr(SourceLocation AtLoc) argument
2666 ParseObjCArrayLiteral(SourceLocation AtLoc) argument
2700 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument
2758 ParseObjCEncodeExpression(SourceLocation AtLoc) argument
2783 ParseObjCProtocolExpression(SourceLocation AtLoc) argument
2807 ParseObjCSelectorExpression(SourceLocation AtLoc) argument
[all...]
H A DParser.cpp860 SourceLocation AtLoc = ConsumeToken(); // the "@" local
872 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID,
874 Diag(AtLoc, DiagID) << PrevSpec;
877 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes());
880 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()));
1871 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument
1910 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
H A DParseStmt.cpp162 SourceLocation AtLoc; local
167 AtLoc = ConsumeToken(); // consume @
168 return ParseObjCAtStatement(AtLoc);
H A DParseExpr.cpp131 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument
132 ExprResult LHS(ParseObjCAtExpression(AtLoc));
1259 SourceLocation AtLoc = ConsumeToken(); local
1260 return ParseObjCAtExpression(AtLoc);
/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp225 SourceLocation AtLoc,
271 MigrateCtx.AtPropsWeak.insert(AtLoc.getRawEncoding());
283 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
285 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
294 TA.clearDiagnostic(diag::err_objc_property_attr_mutually_exclusive, AtLoc);
311 SourceLocation AtLoc = PD->getAtLoc(); local
312 if (AtLoc.isInvalid())
314 unsigned RawAt = AtLoc.getRawEncoding();
321 SourceLocation AtLoc = SourceLocation::getFromRawEncoding(I->first); local
323 checkAllAtProps(MigrateCtx, AtLoc, IndProp
224 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument
[all...]
/external/clang/include/clang/AST/
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; }
358 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr
367 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {}
372 SourceLocation getAtLoc() const { return AtLoc; }
373 void setAtLoc(SourceLocation L) { AtLoc = L; }
384 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
398 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr
440 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr
[all...]
H A DStmtObjC.h346 SourceLocation AtLoc; member in class:clang::ObjCAutoreleasePoolStmt
351 : Stmt(ObjCAutoreleasePoolStmtClass), AtLoc(atLoc), SubStmt(subStmt) {}
360 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
363 SourceLocation getAtLoc() const { return AtLoc; }
364 void setAtLoc(SourceLocation Loc) { AtLoc = Loc; }
H A DDeclObjC.h738 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
1736 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument
1741 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc),
1750 SourceLocation AtLoc,
2218 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl
2236 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
2256 SourceLocation getAtLoc() const { return AtLoc; }
2257 void setAtLoc(SourceLocation L) { AtLoc = L; }
2353 return SourceRange(AtLoc, getLocation());
2378 SourceLocation AtLoc; // locatio member in class:clang::ObjCPropertyImplDecl
[all...]
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp139 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, argument
171 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc,
184 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD,
193 CheckObjCPropertyAttributes(Res, AtLoc, Attributes,
316 SourceLocation AtLoc,
339 Diag(AtLoc, diag::err_duplicate_property);
351 PropertyId, AtLoc, LParenLoc, T);
384 CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc,
417 Diag(AtLoc,
435 Diag(AtLoc, dia
315 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
523 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
750 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument
799 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) argument
[all...]
H A DSemaExprObjC.cpp83 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ argument
104 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc,
119 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc,
144 return new (Context) ObjCStringLiteral(S, Ty, AtLoc);
262 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { argument
290 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType,
309 SourceRange(AtLoc, NR.getEnd())));
312 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, argument
326 return BuildObjCNumericLiteral(AtLoc, Inner.get());
933 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument
968 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument
983 HelperToDiagnoseMismatchedMethodsInGlobalPool(Sema &S, SourceLocation AtLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, ObjCMethodDecl *Method, ObjCMethodList &MethList) argument
1014 DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc, ObjCMethodDecl *Method, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1039 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1100 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument
[all...]
H A DSemaStmt.cpp3283 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument
3290 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body);
3294 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument
3295 return new (Context) ObjCAtFinallyStmt(AtLoc, Body);
3299 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument
3302 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
3306 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(),
3310 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument
3327 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
3332 return new (Context) ObjCAtThrowStmt(AtLoc, Thro
3336 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
3390 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument
3408 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
[all...]
H A DTreeTransform.h1273 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument
1277 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1297 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument
1301 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1309 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument
1311 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1318 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument
1320 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1572 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument
1574 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec
1581 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
2590 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument
[all...]
H A DSemaDeclObjC.cpp626 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument
663 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
H A DSemaDecl.cpp14004 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument
14039 AtLoc.isValid()? AtLoc : ImportLoc,
/external/clang/include/clang/Parse/
H A DParser.h814 void CheckNestedObjCContexts(SourceLocation AtLoc);
1231 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc,
1274 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc);
1325 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc);
1536 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc);
1537 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc);
1538 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc);
1539 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue);
1540 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc);
1541 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc);
[all...]
/external/clang/lib/AST/
H A DDeclObjC.cpp1169 SourceLocation AtLoc, IdentifierInfo *Id,
1173 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc),
1652 SourceLocation AtLoc,
1660 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id,
1863 SourceLocation AtLoc,
1867 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T);
1905 return SourceRange(AtLoc, EndLoc);
1168 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, IdentifierInfo *Id, SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, bool IsInternal) argument
1651 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
1860 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 DSema.h1666 /// \param AtLoc The location of the '@' symbol, if any.
1671 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc,
2827 SourceLocation AtLoc,
2844 SourceLocation AtLoc,
3205 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
3208 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
3210 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
3213 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
3214 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
3218 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc,
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp805 SMLoc AtLoc = getLexer().getLoc(); local
808 return Error(AtLoc, "expected symbol variant after '@'");

Completed in 479 milliseconds