Home
last modified time | relevance | path

Searched refs:CurLexerKind (Results 1 – 8 of 8) 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/llvm-project/clang/lib/Lex/
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()
DPPLexerChange.cpp109 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterSourceFileWithLexer()
110 CurLexerKind = CLK_Lexer; in EnterSourceFileWithLexer()
137 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterMacro()
138 CurLexerKind = CLK_TokenLexer; in EnterMacro()
156 if (CurLexerKind == CLK_CachingLexer) { in EnterTokenStream()
192 if (CurLexerKind != CLK_LexAfterModuleImport) in EnterTokenStream()
193 CurLexerKind = CLK_TokenLexer; in EnterTokenStream()
DPreprocessor.cpp384 CurLexerKind = CLK_Lexer; in recomputeCurLexerKind()
386 CurLexerKind = CLK_TokenLexer; in recomputeCurLexerKind()
388 CurLexerKind = CLK_CachingLexer; in recomputeCurLexerKind()
638 switch (CurLexerKind) { in SkipTokensWhileUsingPCH()
881 CurLexerKind != CLK_CachingLexer) { in HandleIdentifier()
885 CurLexerKind = CLK_LexAfterModuleImport; in HandleIdentifier()
896 switch (CurLexerKind) { in Lex()
956 CurLexerKind = CLK_LexAfterModuleImport; in Lex()
1241 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
1250 CurLexerKind = CLK_LexAfterModuleImport; in LexAfterModuleImport()
/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()
/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h523 enum CurLexerKind { enum
528 } CurLexerKind = CLK_Lexer; variable
538 enum CurLexerKind CurLexerKind; member
547 IncludeStackInfo(enum CurLexerKind CurLexerKind, Module *TheSubmodule, in IncludeStackInfo()
552 : CurLexerKind(std::move(CurLexerKind)), in IncludeStackInfo()
1582 return CurLexerKind != CLK_Lexer; in mightHavePendingAnnotationTokens()
2039 assert(CurLexerKind != CLK_CachingLexer && "cannot push a caching lexer"); in PushIncludeMacroStack()
2040 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2052 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()