Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DTokenLexer.cpp732 bool TokenLexer::pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream, in pasteTokens() argument
735 assert((TokenStream[CurIdx].is(tok::hashhash) || in pasteTokens()
737 isWideStringLiteralFromMacro(LHSTok, TokenStream[CurIdx]))) && in pasteTokens()
745 TokenStream[CurIdx - 2].is(tok::hashhash)) in pasteTokens()
753 auto IsAtEnd = [&TokenStream, &CurIdx] { in pasteTokens()
754 return TokenStream.size() == CurIdx; in pasteTokens()
759 PasteOpLoc = TokenStream[CurIdx].getLocation(); in pasteTokens()
760 if (TokenStream[CurIdx].is(tok::hashhash)) in pasteTokens()
765 const Token &RHS = TokenStream[CurIdx]; in pasteTokens()
890 } while (!IsAtEnd() && TokenStream[CurIdx].is(tok::hashhash)); in pasteTokens()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Rewrite/
H A DHTMLRewrite.cpp602 std::vector<Token> TokenStream; in HighlightMacrosImpl() local
630 TokenStream.push_back(Tok); in HighlightMacrosImpl()
658 TmpPP.EnterTokenStream(TokenStream, false, /*IsReinject=*/false); in HighlightMacrosImpl()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h184 bool pasteTokens(Token &LHSTok, ArrayRef<Token> TokenStream,
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp8737 class TokenStream;
8741 friend TokenStream;
8779 class TokenStream { class
8817 …explicit TokenStream( Args const &args ) : TokenStream( args.m_args.begin(), args.m_args.end() ) {} in TokenStream() function in Catch::clara::detail::TokenStream
8819 TokenStream( Iterator it, Iterator itEnd ) : it( it ), itEnd( itEnd ) { in TokenStream() function in Catch::clara::detail::TokenStream
8839 auto operator++() -> TokenStream & { in operator ++()
8963 ParseState( ParseResultType type, TokenStream const &remainingTokens ) in ParseState()
8969 auto remainingTokens() const -> TokenStream { return m_remainingTokens; } in remainingTokens()
8973 TokenStream m_remainingTokens;
9143 …virtual auto parse( std::string const& exeName, TokenStream const &tokens) const -> InternalParseR…
[all …]