Lines Matching refs:StartLoc

190   SourceLocation StartLoc = Tok.getLocation();  in ConsumeExtraSemi()  local
204 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
205 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
207 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
208 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
213 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
216 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
219 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
220 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
911 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local
922 Diag(StartLoc, diag::err_gnu_inline_asm_disabled); in ParseExternalDeclaration()
930 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()
2464 SourceLocation StartLoc = Tok.getLocation(); in ParseModuleDecl() local
2484 Diag(StartLoc, diag::err_global_module_introducer_not_at_start) in ParseModuleDecl()
2485 << SourceRange(StartLoc, SemiLoc); in ParseModuleDecl()
2489 Diag(StartLoc, diag::err_module_fragment_exported) in ParseModuleDecl()
2490 << /*global*/0 << FixItHint::CreateRemoval(StartLoc); in ParseModuleDecl()
2500 Diag(StartLoc, diag::err_module_fragment_exported) in ParseModuleDecl()
2501 << /*private*/1 << FixItHint::CreateRemoval(StartLoc); in ParseModuleDecl()
2539 return Actions.ActOnModuleDecl(StartLoc, ModuleLoc, MDK, Path, Partition, in ParseModuleDecl()
2560 SourceLocation StartLoc = AtLoc.isInvalid() ? Tok.getLocation() : AtLoc; in ParseModuleImport() local
2663 Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, HeaderUnit); in ParseModuleImport()
2665 Import = Actions.ActOnModuleImport(StartLoc, ExportLoc, ImportLoc, Path, in ParseModuleImport()