Lines Matching refs:getLocation

36   ExpandLocStart = Tok.getLocation();  in Init()
51 assert(Tokens[0].getLocation().isValid()); in Init()
52 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
60 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
152 PP.Diag(ResultToks.back().getLocation(), diag::ext_paste_comma); in MaybeRemoveCommaBeforeVaArgs()
193 getExpansionLocForMacroDefLoc(CurTok.getLocation()); in ExpandFunctionArguments()
195 getExpansionLocForMacroDefLoc(Tokens[i+1].getLocation()); in ExpandFunctionArguments()
298 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()
327 PP.Diag(ResultToks.pop_back_val().getLocation(), diag::ext_paste_comma); in ExpandFunctionArguments()
342 updateLocForMacroArgTokens(CurTok.getLocation(), in ExpandFunctionArguments()
469 SM.isBeforeInSLocAddrSpace(Tok.getLocation(), MacroStartSLocOffset)) { in Lex()
472 instLoc = SM.createExpansionLoc(Tok.getLocation(), in Lex()
477 instLoc = getExpansionLocForMacroDefLoc(Tok.getLocation()); in Lex()
526 SourceLocation StartLoc = Tok.getLocation(); in PasteTokens()
530 PasteOpLoc = Tokens[CurToken].getLocation(); in PasteTokens()
571 SourceLocation ResultTokLoc = ResultTokTmp.getLocation(); in PasteTokens()
662 SourceLocation EndLoc = Tokens[CurToken - 1].getLocation(); in PasteTokens()
680 Tok.setLocation(SM.createExpansionLoc(Tok.getLocation(), StartLoc, EndLoc, in PasteTokens()
761 SourceLocation FirstLoc = begin_tokens->getLocation(); in updateConsecutiveMacroArgTokens()
776 SourceLocation NextLoc = NextTok->getLocation(); in updateConsecutiveMacroArgTokens()
794 SM.isInSameSLocAddrSpace(FirstLoc, LastConsecutiveTok.getLocation(), in updateConsecutiveMacroArgTokens()
807 SM.isInSameSLocAddrSpace(FirstLoc, Tok.getLocation(), &RelOffs); in updateConsecutiveMacroArgTokens()
830 Tok.setLocation(SM.createMacroArgExpansionLoc(Tok.getLocation(), in updateLocForMacroArgTokens()