Lines Matching refs:getLocation

180   SourceLocation PragmaLoc = Tok.getLocation();  in Handle_Pragma()
223 SourceLocation RParenLoc = Tok.getLocation(); in Handle_Pragma()
284 SourceLocation TokLoc = TmpTok.getLocation(); in Handle_Pragma()
304 SourceLocation PragmaLoc = Tok.getLocation(); in HandleMicrosoft__pragma()
428 PresumedLoc PLoc = SourceMgr.getPresumedLoc(SysHeaderTok.getLocation()); in HandlePragmaSystemHeader()
436 Callbacks->FileChanged(SysHeaderTok.getLocation(), in HandlePragmaSystemHeader()
442 SourceMgr.AddLineNote(SysHeaderTok.getLocation(), PLoc.getLine()+1, in HandlePragmaSystemHeader()
465 GetIncludeFilenameSpelling(FilenameTok.getLocation(), Filename); in HandlePragmaDependency()
474 LookupFile(FilenameTok.getLocation(), Filename, isAngled, nullptr, in HandlePragmaDependency()
510 Diag(PragmaTok.getLocation(), diag::err_pragma_push_pop_macro_malformed) in ParsePragmaPushOrPopMacro()
518 Diag(PragmaTok.getLocation(), diag::err_pragma_push_pop_macro_malformed) in ParsePragmaPushOrPopMacro()
534 Diag(PragmaTok.getLocation(), diag::err_pragma_push_pop_macro_malformed) in ParsePragmaPushOrPopMacro()
582 SourceLocation MessageLoc = PopMacroTok.getLocation(); in HandlePragmaPopMacro()
700 GetIncludeFilenameSpelling(SourceFilenameTok.getLocation(), in HandlePragmaIncludeAlias()
703 GetIncludeFilenameSpelling(ReplaceFilenameTok.getLocation(), in HandlePragmaIncludeAlias()
713 Diag(SourceFilenameTok.getLocation(), DiagID) in HandlePragmaIncludeAlias()
875 Crasher.setAnnotationRange(SourceRange(Tok.getLocation())); in HandlePragma()
896 Callbacks->PragmaDebug(Tok.getLocation(), II->getName()); in HandlePragma()
913 SourceLocation NameLoc = Tok.getLocation(); in HandleCaptured()
946 SourceLocation DiagLoc = DiagToken.getLocation(); in HandlePragma()
982 SourceLocation StringLoc = Tok.getLocation(); in HandlePragma()
990 PP.Diag(Tok.getLocation(), diag::warn_pragma_diagnostic_invalid_token); in HandlePragma()
1023 SourceLocation DiagLoc = Tok.getLocation(); in HandlePragma()
1168 SourceLocation MessageLoc = Tok.getLocation(); in HandlePragma()
1193 PP.Diag(Tok.getLocation(), diag::err_pragma_message_malformed) << Kind; in HandlePragma()
1200 PP.Diag(Tok.getLocation(), diag::err_pragma_message_malformed) << Kind; in HandlePragma()
1278 SourceLocation Loc = NameTok.getLocation(); in HandlePragma()
1291 PP.Diag(Tok.getLocation(), diag::err_pp_arc_cf_code_audited_syntax); in HandlePragma()