Home
last modified time | relevance | path

Searched refs:TokLexer (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Lex/
DPPLexerChange.cpp164 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro() local
166 TokLexer = llvm::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
168 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]); in EnterMacro()
169 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
174 CurTokenLexer = std::move(TokLexer); in EnterMacro()
214 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream() local
216 TokLexer = llvm::make_unique<TokenLexer>( in EnterTokenStream()
219 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]); in EnterTokenStream()
220 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens); in EnterTokenStream()
226 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()
/external/llvm-project/clang/lib/Lex/
DPPLexerChange.cpp126 std::unique_ptr<TokenLexer> TokLexer; in EnterMacro() local
128 TokLexer = std::make_unique<TokenLexer>(Tok, ILEnd, Macro, Args, *this); in EnterMacro()
130 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]); in EnterMacro()
131 TokLexer->Init(Tok, ILEnd, Macro, Args); in EnterMacro()
136 CurTokenLexer = std::move(TokLexer); in EnterMacro()
178 std::unique_ptr<TokenLexer> TokLexer; in EnterTokenStream() local
180 TokLexer = std::make_unique<TokenLexer>( in EnterTokenStream()
183 TokLexer = std::move(TokenLexerCache[--NumCachedTokenLexers]); in EnterTokenStream()
184 TokLexer->Init(Toks, NumToks, DisableMacroExpansion, OwnsTokens, in EnterTokenStream()
191 CurTokenLexer = std::move(TokLexer); in EnterTokenStream()