Lines Matching refs:LHSTok
731 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream, in pasteTokens() argument
736 isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) && in pasteTokens()
745 LHSTok.clearFlag(Token::LeadingSpace); in pasteTokens()
749 SourceLocation StartLoc = LHSTok.getLocation(); in pasteTokens()
768 Buffer.resize(LHSTok.getLength() + RHS.getLength()); in pasteTokens()
773 unsigned LHSLen = PP.getSpelling(LHSTok, BufPtr, &Invalid); in pasteTokens()
805 if (LHSTok.isAnyIdentifier() && RHS.isAnyIdentifier()) { in pasteTokens()
856 if (PP.getLangOpts().MicrosoftExt && LHSTok.is(tok::slash) && in pasteTokens()
858 HandleMicrosoftCommentPaste(LHSTok, Loc); in pasteTokens()
883 Result.setFlagValue(Token::StartOfLine , LHSTok.isAtStartOfLine()); in pasteTokens()
884 Result.setFlagValue(Token::LeadingSpace, LHSTok.hasLeadingSpace()); in pasteTokens()
888 LHSTok = Result; in pasteTokens()
909 LHSTok.setLocation(SM.createExpansionLoc(LHSTok.getLocation(), StartLoc, EndLoc, in pasteTokens()
910 LHSTok.getLength())); in pasteTokens()
915 if (LHSTok.is(tok::raw_identifier)) { in pasteTokens()
918 PP.LookUpIdentifierInfo(LHSTok); in pasteTokens()