Home
last modified time | relevance | path

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

/external/clang/lib/Lex/
DPPLexerChange.cpp121 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithLexer()
122 CurLexerKind = CLK_Lexer; in EnterSourceFileWithLexer()
146 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithPTH()
147 CurLexerKind = CLK_PTHLexer; in EnterSourceFileWithPTH()
174 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterMacro()
175 CurLexerKind = CLK_TokenLexer; in EnterMacro()
193 if (CurLexerKind == CLK_CachingLexer) { in EnterTokenStream()
226 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterTokenStream()
227 CurLexerKind = CLK_TokenLexer; in EnterTokenStream()
DPreprocessor.cpp75 CurDirLookup(nullptr), CurLexerKind(CLK_Lexer), CurSubmodule(nullptr), in Preprocessor()
346 CurLexerKind = CLK_Lexer; in recomputeCurLexerKind()
348 CurLexerKind = CLK_PTHLexer; in recomputeCurLexerKind()
350 CurLexerKind = CLK_TokenLexer; in recomputeCurLexerKind()
352 CurLexerKind = CLK_CachingLexer; in recomputeCurLexerKind()
677 CurLexerKind != CLK_CachingLexer) { in HandleIdentifier()
681 CurLexerKind = CLK_LexAfterModuleImport; in HandleIdentifier()
690 switch (CurLexerKind) { in Lex()
736 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
744 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
DPPCaching.cpp82 CurLexerKind = CLK_CachingLexer; in EnterCachingLexMode()
/external/clang/include/clang/Lex/
DPreprocessor.h304 enum CurLexerKind { enum
310 } CurLexerKind; variable
320 enum CurLexerKind CurLexerKind; member
330 IncludeStackInfo(enum CurLexerKind CurLexerKind, Module *TheSubmodule, in IncludeStackInfo()
336 : CurLexerKind(std::move(CurLexerKind)), in IncludeStackInfo()
343 : CurLexerKind(std::move(RHS.CurLexerKind)), in IncludeStackInfo()
1389 assert(CurLexerKind != CLK_CachingLexer && "cannot push a caching lexer"); in PushIncludeMacroStack()
1391 CurLexerKind, CurSubmodule, std::move(CurLexer), std::move(CurPTHLexer), in PushIncludeMacroStack()
1403 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()