Lines Matching refs:AtLoc
1140 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseDeclOrFunctionDefInternal() local
1154 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1156 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
1159 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1162 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1165 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal()
2438 Decl *Parser::ParseModuleImport(SourceLocation AtLoc, in ParseModuleImport() argument
2440 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport()
2445 assert((AtLoc.isInvalid() ? Tok.isOneOf(tok::kw_import, tok::identifier) in ParseModuleImport()
2543 if (IsObjCAtImport && AtLoc.isValid()) { in ParseModuleImport()
2545 auto FE = SrcMgr.getFileEntryRefForID(SrcMgr.getFileID(AtLoc)); in ParseModuleImport()
2548 Diags.Report(AtLoc, diag::warn_atimport_in_framework_header); in ParseModuleImport()