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