Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp122 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithLexer()
123 CurLexerKind = CLK_Lexer; in EnterSourceFileWithLexer()
147 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithPTH()
148 CurLexerKind = CLK_PTHLexer; in EnterSourceFileWithPTH()
175 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterMacro()
176 CurLexerKind = CLK_TokenLexer; in EnterMacro()
194 if (CurLexerKind == CLK_CachingLexer) { in EnterTokenStream()
227 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterTokenStream()
228 CurLexerKind = CLK_TokenLexer; in EnterTokenStream()
DPreprocessor.cpp79 CurLexerKind(CLK_Lexer), CurSubmodule(nullptr), Callbacks(nullptr), in Preprocessor()
363 CurLexerKind = CLK_Lexer; in recomputeCurLexerKind()
365 CurLexerKind = CLK_PTHLexer; in recomputeCurLexerKind()
367 CurLexerKind = CLK_TokenLexer; in recomputeCurLexerKind()
369 CurLexerKind = CLK_CachingLexer; in recomputeCurLexerKind()
713 CurLexerKind != CLK_CachingLexer) { in HandleIdentifier()
717 CurLexerKind = CLK_LexAfterModuleImport; in HandleIdentifier()
726 switch (CurLexerKind) { in Lex()
772 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
780 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
DPPCaching.cpp82 CurLexerKind = CLK_CachingLexer; in EnterCachingLexMode()
/external/clang/include/clang/Lex/
DPreprocessor.h311 enum CurLexerKind { enum
317 } CurLexerKind; variable
327 enum CurLexerKind CurLexerKind; member
337 IncludeStackInfo(enum CurLexerKind CurLexerKind, Module *TheSubmodule, in IncludeStackInfo()
343 : CurLexerKind(std::move(CurLexerKind)), in IncludeStackInfo()
350 : CurLexerKind(std::move(RHS.CurLexerKind)), in IncludeStackInfo()
1691 assert(CurLexerKind != CLK_CachingLexer && "cannot push a caching lexer"); in PushIncludeMacroStack()
1693 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()
1705 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()