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

/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 DStmtObjC.h345 SourceLocation AtLoc; member in class:clang::ObjCAutoreleasePoolStmt
350 SubStmt(subStmt), AtLoc(atLoc) {}
359 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
362 SourceLocation getAtLoc() const { return AtLoc; }
363 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; }
349 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCEncodeExpr
358 EncodedType(EncodedType), AtLoc(at), RParenLoc(rp) {}
363 SourceLocation getAtLoc() const { return AtLoc; }
364 void setAtLoc(SourceLocation L) { AtLoc = L; }
375 SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
389 SourceLocation AtLoc, RParenLoc; member in class:clang::ObjCSelectorExpr
431 SourceLocation AtLoc, ProtoLoc, RParenLoc; member in class:clang::ObjCProtocolExpr
[all...]
H A DDeclObjC.h737 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
1727 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument
1732 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc),
1741 SourceLocation AtLoc,
2202 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl
2220 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
2240 SourceLocation getAtLoc() const { return AtLoc; }
2241 void setAtLoc(SourceLocation L) { AtLoc = L; }
2337 return SourceRange(AtLoc, getLocation());
2362 SourceLocation AtLoc; // locatio member in class:clang::ObjCPropertyImplDecl
[all...]
/external/clang/lib/Parse/
H A DParseExpr.cpp131 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument
132 ExprResult LHS(ParseObjCAtExpression(AtLoc));
1137 SourceLocation AtLoc = ConsumeToken(); local
1138 return ParseObjCAtExpression(AtLoc);
H A DParseStmt.cpp162 SourceLocation AtLoc; local
167 AtLoc = ConsumeToken(); // consume @
168 return ParseObjCAtStatement(AtLoc);
H A DParser.cpp855 SourceLocation AtLoc = ConsumeToken(); // the "@" local
867 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID,
869 Diag(AtLoc, DiagID) << PrevSpec;
872 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes());
875 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()));
1889 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument
1928 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);
131 CheckNestedObjCContexts(SourceLocation AtLoc) argument
141 Actions.ActOnAtEnd(getCurScope(), AtLoc); local
179 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
319 SourceLocation AtLoc; member in struct:Parser::ObjCPropertyCallback
323 ObjCPropertyCallback(Parser &P, SmallVectorImpl<Decl *> &Props, ObjCDeclSpec &OCDS, SourceLocation AtLoc, SourceLocation LParenLoc, tok::ObjCKeywordKind MethodImplKind) argument
451 SourceLocation AtLoc = ConsumeToken(); // the "@" local
1401 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
1492 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument
2056 ParseObjCAtStatement(SourceLocation AtLoc) argument
2089 ParseObjCAtExpression(SourceLocation AtLoc) argument
2610 ParseObjCStringLiteral(SourceLocation AtLoc) argument
2645 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument
2654 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument
2668 ParseObjCNumericLiteral(SourceLocation AtLoc) argument
2681 ParseObjCBoxedExpr(SourceLocation AtLoc) argument
2702 ParseObjCArrayLiteral(SourceLocation AtLoc) argument
2736 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument
2794 ParseObjCEncodeExpression(SourceLocation AtLoc) argument
2819 ParseObjCProtocolExpression(SourceLocation AtLoc) argument
2843 ParseObjCSelectorExpression(SourceLocation AtLoc) argument
[all...]
/external/clang/lib/AST/
H A DDeclObjC.cpp1155 SourceLocation AtLoc, IdentifierInfo *Id,
1159 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc),
1613 SourceLocation AtLoc,
1621 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id,
1819 SourceLocation AtLoc,
1823 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T);
1861 return SourceRange(AtLoc, EndLoc);
1154 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, IdentifierInfo *Id, SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, bool IsInternal) argument
1612 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
1816 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.cpp138 Decl *Sema::ActOnProperty(Scope *S, SourceLocation AtLoc, argument
170 Res = HandlePropertyInClassExtension(S, AtLoc, LParenLoc,
183 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD,
192 CheckObjCPropertyAttributes(Res, AtLoc, Attributes,
315 SourceLocation AtLoc,
338 Diag(AtLoc, diag::err_duplicate_property);
350 PropertyId, AtLoc, LParenLoc, T);
383 CreatePropertyDecl(S, CCPrimary, AtLoc, LParenLoc,
414 Diag(AtLoc,
432 Diag(AtLoc, dia
314 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
520 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
747 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument
796 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) argument
[all...]
H A DSemaDeclObjC.cpp630 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument
667 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
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);
260 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { argument
288 ObjCMethodDecl *Method = getNSNumberFactoryMethod(*this, AtLoc, NumberType,
307 SourceRange(AtLoc, NR.getEnd())));
310 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, argument
324 return BuildObjCNumericLiteral(AtLoc, Inner.get());
931 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument
962 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument
977 HelperToDiagnoseMismatchedMethodsInGlobalPool(Sema &S, SourceLocation AtLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, ObjCMethodDecl *Method, ObjCMethodList &MethList) argument
1008 DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc, ObjCMethodDecl *Method, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1033 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1097 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument
[all...]
H A DSemaStmt.cpp3034 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument
3041 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body);
3045 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument
3046 return new (Context) ObjCAtFinallyStmt(AtLoc, Body);
3050 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument
3053 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
3057 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(),
3061 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument
3078 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
3083 return new (Context) ObjCAtThrowStmt(AtLoc, Thro
3087 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
3126 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument
3144 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
[all...]
H A DSemaDecl.cpp13360 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument
13392 AtLoc.isValid()? AtLoc : ImportLoc,
H A DTreeTransform.h1246 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument
1250 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1270 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument
1274 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1282 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument
1284 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1291 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument
1293 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1522 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument
1524 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec
1531 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
2531 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument
[all...]
/external/llvm/lib/MC/MCParser/
H A DAsmParser.cpp817 SMLoc AtLoc = getLexer().getLoc(); local
820 return Error(AtLoc, "expected symbol variant after '@'");

Completed in 1755 milliseconds