Lines Matching refs:StartLoc
182 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi() local
196 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
197 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
199 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
200 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
205 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
208 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
211 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
212 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
886 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local
897 Diag(StartLoc, diag::err_gnu_inline_asm_disabled); in ParseExternalDeclaration()
905 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
2391 SourceLocation StartLoc = Tok.getLocation(); in ParseModuleDecl() local
2411 Diag(StartLoc, diag::err_global_module_introducer_not_at_start) in ParseModuleDecl()
2412 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
2416 Diag(StartLoc, diag::err_module_fragment_exported) in ParseModuleDecl()
2417 << /*global*/0 << FixItHint::CreateRemoval(StartLoc); in ParseModuleDecl()
2427 Diag(StartLoc, diag::err_module_fragment_exported) in ParseModuleDecl()
2428 << /*private*/1 << FixItHint::CreateRemoval(StartLoc); in ParseModuleDecl()
2465 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
2486 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport() local
2584 Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, HeaderUnit); in ParseModuleImport()
2586 Import = Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Path, in ParseModuleImport()