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

/external/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp223 SourceLocation AtLoc,
269 MigrateCtx.AtPropsWeak.insert(AtLoc.getRawEncoding());
281 MigrateCtx.rewritePropertyAttribute("assign", toAttr, AtLoc);
283 MigrateCtx.addPropertyAttribute(toAttr, AtLoc);
292 TA.clearDiagnostic(diag::err_objc_property_attr_mutually_exclusive, AtLoc);
309 SourceLocation AtLoc = PD->getAtLoc(); local
310 if (AtLoc.isInvalid())
312 unsigned RawAt = AtLoc.getRawEncoding();
319 SourceLocation AtLoc = SourceLocation::getFromRawEncoding(I->first); local
321 checkAllAtProps(MigrateCtx, AtLoc, IndProp
222 checkAllAtProps(MigrationContext &MigrateCtx, SourceLocation AtLoc, IndivPropsTy &IndProps) argument
[all...]
/external/clang/lib/Parse/
H A DParseObjc.cpp49 SourceLocation AtLoc = ConsumeToken(); // the "@" local
60 return ParseObjCAtClassDeclaration(AtLoc);
63 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs);
68 return ParseObjCAtProtocolDeclaration(AtLoc, attrs);
71 return ParseObjCAtImplementationDeclaration(AtLoc);
73 return ParseObjCAtEndDeclaration(AtLoc);
75 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc);
78 SingleDecl = ParseObjCPropertySynthesize(AtLoc);
81 SingleDecl = ParseObjCPropertyDynamic(AtLoc);
85 return ParseModuleImport(AtLoc);
168 CheckNestedObjCContexts(SourceLocation AtLoc) argument
178 Actions.ActOnAtEnd(getCurScope(), AtLoc); local
216 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
681 SourceLocation AtLoc = ConsumeToken(); // the "@" local
2026 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
2116 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument
2744 ParseObjCAtStatement(SourceLocation AtLoc) argument
2783 ParseObjCAtExpression(SourceLocation AtLoc) argument
3322 ParseObjCStringLiteral(SourceLocation AtLoc) argument
3356 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument
3365 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument
3379 ParseObjCNumericLiteral(SourceLocation AtLoc) argument
3392 ParseObjCBoxedExpr(SourceLocation AtLoc) argument
3413 ParseObjCArrayLiteral(SourceLocation AtLoc) argument
3447 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument
3505 ParseObjCEncodeExpression(SourceLocation AtLoc) argument
3530 ParseObjCProtocolExpression(SourceLocation AtLoc) argument
3554 ParseObjCSelectorExpression(SourceLocation AtLoc) argument
[all...]
H A DParser.cpp907 SourceLocation AtLoc = ConsumeToken(); // the "@" local
919 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID,
921 Diag(AtLoc, DiagID) << PrevSpec;
924 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes());
927 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()));
1999 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument
2038 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
H A DParseStmt.cpp166 SourceLocation AtLoc; local
171 AtLoc = ConsumeToken(); // consume @
172 return ParseObjCAtStatement(AtLoc);
H A DParseExpr.cpp131 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument
132 ExprResult LHS(ParseObjCAtExpression(AtLoc));
1327 SourceLocation AtLoc = ConsumeToken(); local
1328 return ParseObjCAtExpression(AtLoc);
/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; }
357 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr
366 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {}
371 SourceLocation getAtLoc() const { return AtLoc; }
372 void setAtLoc(SourceLocation L) { AtLoc = L; }
383 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
399 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr
443 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.h732 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl
752 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
773 SourceLocation getAtLoc() const { return AtLoc; }
774 void setAtLoc(SourceLocation L) { AtLoc = L; }
882 return SourceRange(AtLoc, getLocation());
1161 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
2194 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc,
2204 SourceLocation AtLoc,
2662 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl
2691 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo
[all...]
/external/clang/lib/Sema/
H A DSemaObjCProperty.cpp178 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, argument
202 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc,
214 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD,
223 CheckObjCPropertyAttributes(Res, AtLoc, Attributes,
412 SourceLocation AtLoc,
445 Diag(AtLoc, diag::err_duplicate_property);
466 Diag(AtLoc, diag)
476 Diag(AtLoc, diag::warn_property_redecl_getter_mismatch)
493 Diag(AtLoc, diag::warn_property_attr_mismatch);
507 Diag(AtLoc, dia
411 HandlePropertyInClassExtension(Scope *S, SourceLocation AtLoc, SourceLocation LParenLoc, FieldDeclarator &FD, Selector GetterSel, Selector SetterSel, const bool isReadWrite, unsigned &Attributes, const unsigned AttributesAsWritten, QualType T, TypeSourceInfo *TSI, tok::ObjCKeywordKind MethodImplKind) argument
559 CreatePropertyDecl(Scope *S, ObjCContainerDecl *CDecl, SourceLocation AtLoc, SourceLocation LParenLoc, FieldDeclarator &FD, Selector GetterSel, Selector SetterSel, const bool isReadWrite, const unsigned Attributes, const unsigned AttributesAsWritten, QualType T, TypeSourceInfo *TInfo, tok::ObjCKeywordKind MethodImplKind, DeclContext *lexicalDC) argument
813 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument
895 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc, ObjCPropertyQueryKind QueryKind) argument
[all...]
H A DSemaExprObjC.cpp80 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ argument
101 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc,
116 NamedDecl *IF = LookupSingleName(TUScope, NSIdent, AtLoc,
141 return new (Context) ObjCStringLiteral(S, Ty, AtLoc);
314 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { argument
343 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType,
362 SourceRange(AtLoc, NR.getEnd())));
365 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, argument
379 return BuildObjCNumericLiteral(AtLoc, Inner.get());
1047 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument
1082 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument
1097 HelperToDiagnoseMismatchedMethodsInGlobalPool(Sema &S, SourceLocation AtLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, ObjCMethodDecl *Method, ObjCMethodList &MethList) argument
1128 DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc, ObjCMethodDecl *Method, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1153 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1214 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument
[all...]
H A DSemaStmt.cpp3406 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument
3413 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body);
3417 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument
3418 return new (Context) ObjCAtFinallyStmt(AtLoc, Body);
3422 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument
3425 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
3429 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(),
3433 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument
3450 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
3455 return new (Context) ObjCAtThrowStmt(AtLoc, Thro
3459 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
3513 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument
3531 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
[all...]
H A DTreeTransform.h1330 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument
1334 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1354 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument
1358 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1366 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument
1368 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1375 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument
1377 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1821 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument
1823 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec
1830 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
2860 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument
[all...]
H A DSemaDeclObjC.cpp1050 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument
1087 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
H A DSemaDecl.cpp15061 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument
15097 AtLoc.isValid()? AtLoc : ImportLoc,
/external/clang/include/clang/Parse/
H A DParser.h858 void CheckNestedObjCContexts(SourceLocation AtLoc);
1276 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc,
1367 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc);
1420 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc);
1634 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc);
1635 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc);
1636 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc);
1637 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue);
1638 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc);
1639 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc);
[all...]
/external/clang/lib/AST/
H A DDeclObjC.cpp1413 SourceLocation AtLoc, IdentifierInfo *Id,
1418 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc),
1906 ObjCCategoryDecl::ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument
1913 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc),
1922 SourceLocation AtLoc,
1931 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id,
2163 SourceLocation AtLoc,
2168 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI,
2212 return SourceRange(AtLoc, EndLoc);
1412 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, IdentifierInfo *Id, ObjCTypeParamList *typeParamList, SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, bool IsInternal) argument
1921 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, ObjCTypeParamList *typeParamList, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
2160 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, QualType T, TypeSourceInfo *TSI, PropertyControl propControl) argument
/external/clang/include/clang/Sema/
H A DSema.h1851 /// \param AtLoc The location of the '@' symbol, if any.
1856 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc,
3131 SourceLocation AtLoc,
3147 SourceLocation AtLoc,
3525 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
3528 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
3530 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
3533 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
3534 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
3538 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc,
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp914 SMLoc AtLoc = getLexer().getLoc(); local
917 return Error(AtLoc, "expected symbol variant after '@'");

Completed in 451 milliseconds