Lines Matching refs:StartLoc
227 SourceLocation StartLoc = Tok.getLocation(); in ConsumeExtraSemi() local
241 Diag(StartLoc, diag::warn_cxx98_compat_top_level_semi) in ConsumeExtraSemi()
242 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
244 Diag(StartLoc, diag::ext_extra_semi_cxx11) in ConsumeExtraSemi()
245 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
250 Diag(StartLoc, diag::ext_extra_semi) in ConsumeExtraSemi()
252 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
255 Diag(StartLoc, diag::warn_extra_semi_after_mem_fn_def) in ConsumeExtraSemi()
256 << FixItHint::CreateRemoval(SourceRange(StartLoc, EndLoc)); in ConsumeExtraSemi()
657 SourceLocation StartLoc = Tok.getLocation(); in ParseExternalDeclaration() local
666 SingleDecl = Actions.ActOnFileScopeAsmDecl(Result.get(), StartLoc, EndLoc); in ParseExternalDeclaration()