Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Lex/
H A DPPCaching.cpp91 assert(CurLexerKind == CLK_CachingLexer && "Unexpected lexer kind"); in EnterCachingLexMode()
99 assert(CurLexerKind != CLK_CachingLexer && "already in caching lex mode"); in EnterCachingLexModeUnchecked()
101 CurLexerKind = CLK_CachingLexer; in EnterCachingLexModeUnchecked()
H A DPPLexerChange.cpp124 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithLexer()
125 CurLexerKind = TheLexer->isDependencyDirectivesLexer() in EnterSourceFileWithLexer()
163 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterMacro()
164 CurLexerKind = CLK_TokenLexer; in EnterMacro()
182 if (CurLexerKind == CLK_CachingLexer) { in EnterTokenStream()
218 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterTokenStream()
219 CurLexerKind = CLK_TokenLexer; in EnterTokenStream()
H A DPreprocessor.cpp392 CurLexerKind = CurLexer->isDependencyDirectivesLexer() in recomputeCurLexerKind()
396 CurLexerKind = CLK_TokenLexer; in recomputeCurLexerKind()
398 CurLexerKind = CLK_CachingLexer; in recomputeCurLexerKind()
647 switch (CurLexerKind) { in SkipTokensWhileUsingPCH()
895 CurLexerKind != CLK_CachingLexer) { in HandleIdentifier()
899 CurLexerKind = CLK_LexAfterModuleImport; in HandleIdentifier()
910 switch (CurLexerKind) { in Lex()
982 CurLexerKind = CLK_LexAfterModuleImport; in Lex()
1272 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
1281 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h619 enum CurLexerKind { enum
625 } CurLexerKind = CLK_Lexer; variable
635 enum CurLexerKind CurLexerKind; member
644 IncludeStackInfo(enum CurLexerKind CurLexerKind, Module *TheSubmodule, in IncludeStackInfo()
649 : CurLexerKind(std::move(CurLexerKind)), in IncludeStackInfo()
1752 return CurLexerKind != CLK_Lexer; in mightHavePendingAnnotationTokens()
2257 assert(CurLexerKind != CLK_CachingLexer && "cannot push a caching lexer"); in PushIncludeMacroStack()
2258 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2270 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()