Lines Matching refs:AtLoc
1097 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseDeclOrFunctionDefInternal() local
1110 if (DS.SetTypeSpecType(DeclSpec::TST_unspecified, AtLoc, PrevSpec, DiagID, in ParseDeclOrFunctionDefInternal()
1112 Diag(AtLoc, DiagID) << PrevSpec; in ParseDeclOrFunctionDefInternal()
1115 return ParseObjCAtProtocolDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1118 return ParseObjCAtImplementationDeclaration(AtLoc, DS.getAttributes()); in ParseDeclOrFunctionDefInternal()
1121 ParseObjCAtInterfaceDeclaration(AtLoc, DS.getAttributes())); in ParseDeclOrFunctionDefInternal()
2378 Decl *Parser::ParseModuleImport(SourceLocation AtLoc) { in ParseModuleImport() argument
2379 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport()
2384 assert((AtLoc.isInvalid() ? Tok.isOneOf(tok::kw_import, tok::identifier) in ParseModuleImport()
2439 if (IsObjCAtImport && AtLoc.isValid()) { in ParseModuleImport()
2441 auto *FE = SrcMgr.getFileEntryForID(SrcMgr.getFileID(AtLoc)); in ParseModuleImport()
2444 Diags.Report(AtLoc, diag::warn_atimport_in_framework_header); in ParseModuleImport()