Home
last modified time | relevance | path

Searched refs:TokenStream (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DTokenLexer.cpp733 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream, in pasteTokens() argument
736 assert((TokenStream[CurIdx].is(tok::hashhash) || in pasteTokens()
738 isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) && in pasteTokens()
746 TokenStream[CurIdx - 2].is(tok::hashhash)) in pasteTokens()
754 auto IsAtEnd = [&TokenStream, &CurIdx] { in pasteTokens()
755 return TokenStream.size() == CurIdx; in pasteTokens()
760 PasteOpLoc = TokenStream[CurIdx].getLocation(); in pasteTokens()
761 if (TokenStream[CurIdx].is(tok::hashhash)) in pasteTokens()
766 const Token &RHS = TokenStream[CurIdx]; in pasteTokens()
891 } while (!IsAtEnd() && TokenStream[CurIdx].is(tok::hashhash)); in pasteTokens()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Rewrite/
H A DHTMLRewrite.cpp537 std::vector<Token> TokenStream; in HighlightMacros() local
565 TokenStream.push_back(Tok); in HighlightMacros()
593 TmpPP.EnterTokenStream(TokenStream, false, /*IsReinject=*/false); in HighlightMacros()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DTokenLexer.h184 bool pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,