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

/freebsd-11.0-release/contrib/llvm/tools/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...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseObjc.cpp48 SourceLocation AtLoc = ConsumeToken(); // the "@" local
59 return ParseObjCAtClassDeclaration(AtLoc);
62 SingleDecl = ParseObjCAtInterfaceDeclaration(AtLoc, attrs);
67 return ParseObjCAtProtocolDeclaration(AtLoc, attrs);
70 return ParseObjCAtImplementationDeclaration(AtLoc);
72 return ParseObjCAtEndDeclaration(AtLoc);
74 SingleDecl = ParseObjCAtAliasDeclaration(AtLoc);
77 SingleDecl = ParseObjCPropertySynthesize(AtLoc);
80 SingleDecl = ParseObjCPropertyDynamic(AtLoc);
84 return ParseModuleImport(AtLoc);
163 CheckNestedObjCContexts(SourceLocation AtLoc) argument
173 Actions.ActOnAtEnd(getCurScope(), AtLoc); local
211 ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
694 SourceLocation AtLoc = ConsumeToken(); // the "@" local
1999 ParseObjCAtProtocolDeclaration(SourceLocation AtLoc, ParsedAttributes &attrs) argument
2089 ParseObjCAtImplementationDeclaration(SourceLocation AtLoc) argument
2681 ParseObjCAtStatement(SourceLocation AtLoc) argument
2720 ParseObjCAtExpression(SourceLocation AtLoc) argument
3261 ParseObjCStringLiteral(SourceLocation AtLoc) argument
3295 ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue) argument
3304 ParseObjCCharacterLiteral(SourceLocation AtLoc) argument
3318 ParseObjCNumericLiteral(SourceLocation AtLoc) argument
3331 ParseObjCBoxedExpr(SourceLocation AtLoc) argument
3352 ParseObjCArrayLiteral(SourceLocation AtLoc) argument
3386 ParseObjCDictionaryLiteral(SourceLocation AtLoc) argument
3444 ParseObjCEncodeExpression(SourceLocation AtLoc) argument
3469 ParseObjCProtocolExpression(SourceLocation AtLoc) argument
3493 ParseObjCSelectorExpression(SourceLocation AtLoc) argument
[all...]
H A DParser.cpp897 SourceLocation AtLoc = ConsumeToken(); // the "@" local
909 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID,
911 Diag(AtLoc, DiagID) << PrevSpec;
914 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes());
917 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes()));
1980 Parser::DeclGroupPtrTy Parser::ParseModuleImport(SourceLocation AtLoc) { argument
2019 DeclResult Import = Actions.ActOnModuleImport(AtLoc, ImportLoc, Path);
H A DParseStmt.cpp164 SourceLocation AtLoc; local
169 AtLoc = ConsumeToken(); // consume @
170 return ParseObjCAtStatement(AtLoc);
H A DParseExpr.cpp131 Parser::ParseExpressionWithLeadingAt(SourceLocation AtLoc) { argument
132 ExprResult LHS(ParseObjCAtExpression(AtLoc));
1300 SourceLocation AtLoc = ConsumeToken(); local
1301 return ParseObjCAtExpression(AtLoc);
/freebsd-11.0-release/contrib/llvm/tools/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.h923 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
1954 ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc,
1964 SourceLocation AtLoc,
2448 SourceLocation AtLoc; // location of \@property member in class:clang::ObjCPropertyDecl
2468 : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
2489 SourceLocation getAtLoc() const { return AtLoc; }
2490 void setAtLoc(SourceLocation L) { AtLoc = L; }
2587 return SourceRange(AtLoc, getLocation());
2612 SourceLocation AtLoc; // location of \@synthesize or \@dynamic member in class:clang::ObjCPropertyImplDecl
2641 : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLo
[all...]
/freebsd-11.0-release/contrib/llvm/tools/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,
411 SourceLocation AtLoc,
441 Diag(AtLoc, diag::err_duplicate_property);
462 Diag(AtLoc, diag)
472 Diag(AtLoc, diag::warn_property_redecl_getter_mismatch)
489 Diag(AtLoc, diag::warn_property_attr_mismatch);
503 Diag(AtLoc, dia
410 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
555 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
804 DiagnosePropertyMismatchDeclInProtocols(Sema &S, SourceLocation AtLoc, ObjCInterfaceDecl *ClassDecl, ObjCPropertyDecl *Property) argument
885 ActOnPropertyImplDecl(Scope *S, SourceLocation AtLoc, SourceLocation PropertyLoc, bool Synthesize, IdentifierInfo *PropertyId, IdentifierInfo *PropertyIvar, SourceLocation PropertyIvarLoc) 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());
1048 ExprResult Sema::BuildObjCEncodeExpression(SourceLocation AtLoc, argument
1083 ParseObjCEncodeExpression(SourceLocation AtLoc, SourceLocation EncodeLoc, SourceLocation LParenLoc, ParsedType ty, SourceLocation RParenLoc) argument
1098 HelperToDiagnoseMismatchedMethodsInGlobalPool(Sema &S, SourceLocation AtLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, ObjCMethodDecl *Method, ObjCMethodList &MethList) argument
1129 DiagnoseMismatchedSelectors(Sema &S, SourceLocation AtLoc, ObjCMethodDecl *Method, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1154 ParseObjCSelectorExpression(Selector Sel, SourceLocation AtLoc, SourceLocation SelLoc, SourceLocation LParenLoc, SourceLocation RParenLoc, bool WarnMultipleSelectors) argument
1215 ParseObjCProtocolExpression(IdentifierInfo *ProtocolId, SourceLocation AtLoc, SourceLocation ProtoLoc, SourceLocation LParenLoc, SourceLocation ProtoIdLoc, SourceLocation RParenLoc) argument
[all...]
H A DSemaStmt.cpp3333 Sema::ActOnObjCAtCatchStmt(SourceLocation AtLoc, argument
3340 return new (Context) ObjCAtCatchStmt(AtLoc, RParen, Var, Body);
3344 Sema::ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body) { argument
3345 return new (Context) ObjCAtFinallyStmt(AtLoc, Body);
3349 Sema::ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try, argument
3352 Diag(AtLoc, diag::err_objc_exceptions_disabled) << "@try";
3356 return ObjCAtTryStmt::Create(Context, AtLoc, Try, CatchStmts.data(),
3360 StmtResult Sema::BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw) { argument
3377 return StmtError(Diag(AtLoc, diag::error_objc_throw_expects_object)
3382 return new (Context) ObjCAtThrowStmt(AtLoc, Thro
3386 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
3440 ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc, Expr *SyncExpr, Stmt *SyncBody) argument
3458 ActOnObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
[all...]
H A DTreeTransform.h1321 StmtResult RebuildObjCAtTryStmt(SourceLocation AtLoc, argument
1325 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1345 StmtResult RebuildObjCAtCatchStmt(SourceLocation AtLoc, argument
1349 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1357 StmtResult RebuildObjCAtFinallyStmt(SourceLocation AtLoc, argument
1359 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1366 StmtResult RebuildObjCAtThrowStmt(SourceLocation AtLoc, argument
1368 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1750 StmtResult RebuildObjCAtSynchronizedStmt(SourceLocation AtLoc, argument
1752 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Objec
1759 RebuildObjCAutoreleasePoolStmt(SourceLocation AtLoc, Stmt *Body) argument
2778 RebuildObjCEncodeExpr(SourceLocation AtLoc, TypeSourceInfo *EncodeTypeInfo, SourceLocation RParenLoc) argument
[all...]
H A DSemaDeclObjC.cpp1051 Decl *Sema::ActOnCompatibilityAlias(SourceLocation AtLoc, argument
1088 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl);
H A DSemaDecl.cpp14649 DeclResult Sema::ActOnModuleImport(SourceLocation AtLoc, argument
14686 AtLoc.isValid()? AtLoc : ImportLoc,
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h840 void CheckNestedObjCContexts(SourceLocation AtLoc);
1258 Decl *ParseObjCAtInterfaceDeclaration(SourceLocation AtLoc,
1349 DeclGroupPtrTy ParseObjCAtImplementationDeclaration(SourceLocation AtLoc);
1402 ExprResult ParseExpressionWithLeadingAt(SourceLocation AtLoc);
1615 ExprResult ParseObjCStringLiteral(SourceLocation AtLoc);
1616 ExprResult ParseObjCCharacterLiteral(SourceLocation AtLoc);
1617 ExprResult ParseObjCNumericLiteral(SourceLocation AtLoc);
1618 ExprResult ParseObjCBooleanLiteral(SourceLocation AtLoc, bool ArgValue);
1619 ExprResult ParseObjCArrayLiteral(SourceLocation AtLoc);
1620 ExprResult ParseObjCDictionaryLiteral(SourceLocation AtLoc);
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclObjC.cpp1379 SourceLocation AtLoc, IdentifierInfo *Id,
1384 : ObjCContainerDecl(ObjCInterface, DC, Id, CLoc, AtLoc),
1870 ObjCCategoryDecl::ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc, argument
1877 : ObjCContainerDecl(ObjCCategory, DC, Id, ClassNameLoc, AtLoc),
1886 SourceLocation AtLoc,
1895 new (C, DC) ObjCCategoryDecl(DC, AtLoc, ClassNameLoc, CategoryNameLoc, Id,
2108 SourceLocation AtLoc,
2113 return new (C, DC) ObjCPropertyDecl(DC, L, Id, AtLoc, LParenLoc, T, TSI,
2157 return SourceRange(AtLoc, EndLoc);
1378 ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc, IdentifierInfo *Id, ObjCTypeParamList *typeParamList, SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl, bool IsInternal) argument
1885 Create(ASTContext &C, DeclContext *DC, SourceLocation AtLoc, SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc, IdentifierInfo *Id, ObjCInterfaceDecl *IDecl, ObjCTypeParamList *typeParamList, SourceLocation IvarLBraceLoc, SourceLocation IvarRBraceLoc) argument
2105 Create(ASTContext &C, DeclContext *DC, SourceLocation L, IdentifierInfo *Id, SourceLocation AtLoc, SourceLocation LParenLoc, QualType T, TypeSourceInfo *TSI, PropertyControl propControl) argument
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h1806 /// \param AtLoc The location of the '@' symbol, if any.
1811 DeclResult ActOnModuleImport(SourceLocation AtLoc, SourceLocation ImportLoc,
3061 SourceLocation AtLoc,
3077 SourceLocation AtLoc,
3444 StmtResult ActOnObjCAtCatchStmt(SourceLocation AtLoc, SourceLocation RParen,
3447 StmtResult ActOnObjCAtFinallyStmt(SourceLocation AtLoc, Stmt *Body);
3449 StmtResult ActOnObjCAtTryStmt(SourceLocation AtLoc, Stmt *Try,
3452 StmtResult BuildObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw);
3453 StmtResult ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw,
3457 StmtResult ActOnObjCAtSynchronizedStmt(SourceLocation AtLoc,
[all...]
/freebsd-11.0-release/contrib/llvm/lib/MC/MCParser/
H A DAsmParser.cpp824 SMLoc AtLoc = getLexer().getLoc(); local
827 return Error(AtLoc, "expected symbol variant after '@'");

Completed in 322 milliseconds