• Home
  • Raw
  • Download

Lines Matching refs:CurPPLexer

421   assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?");  in SkipExcludedConditionalBlock()
426 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/ false, in SkipExcludedConditionalBlock()
431 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
467 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
477 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
493 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
510 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
527 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()
536 bool InCond = CurPPLexer->popConditionalLevel(CondInfo); in SkipExcludedConditionalBlock()
544 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
546 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
557 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock()
571 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
573 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
581 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock()
593 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!"); in SkipExcludedConditionalBlock()
594 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
598 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
614 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
622 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
630 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
817 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
908 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
912 CurPPLexer->MIOpt.getImmediatelyAfterTopLevelIfndef(); in HandleDirective()
913 CurPPLexer->MIOpt.resetImmediatelyAfterTopLevelIfndef(); in HandleDirective()
920 bool ReadAnyTokensBeforeDirective =CurPPLexer->MIOpt.getHasReadAnyTokensVal(); in HandleDirective()
970 CurPPLexer->getConditionalStackDepth() > 0); in HandleDirective()
1223 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1375 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
2304 assert(CurPPLexer && "#include_next directive in macro?"); in HandleIncludeNextDirective()
2305 LookupFromFile = CurPPLexer->getFileEntry(); in HandleIncludeNextDirective()
2549 CurPPLexer->MIOpt.SetDefinedMacro(MacroNameTok.getIdentifierInfo(), in ReadOptionalMacroParameterListAndBody()
2950 if (CurPPLexer->getConditionalStackDepth() == 0) { in HandleIfdefDirective()
2957 CurPPLexer->MIOpt.EnterTopLevelIfndef(MII, MacroNameTok.getLocation()); in HandleIfdefDirective()
2959 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleIfdefDirective()
2980 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
2985 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
3011 if (CurPPLexer->getConditionalStackDepth() == 0) { in HandleIfDirective()
3014 CurPPLexer->MIOpt.EnterTopLevelIfndef(IfNDefMacro, IfToken.getLocation()); in HandleIfDirective()
3016 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleIfDirective()
3031 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3035 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3054 if (CurPPLexer->popConditionalLevel(CondInfo)) { in HandleEndifDirective()
3061 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleEndifDirective()
3062 CurPPLexer->MIOpt.ExitTopLevelConditional(); in HandleEndifDirective()
3064 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode && in HandleEndifDirective()
3080 if (CurPPLexer->popConditionalLevel(CI)) { in HandleElseDirective()
3086 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleElseDirective()
3087 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleElseDirective()
3101 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
3124 if (CurPPLexer->popConditionalLevel(CI)) { in HandleElifDirective()
3130 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleElifDirective()
3131 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleElifDirective()
3146 CurPPLexer->pushConditionalLevel(ElifToken.getLocation(), /*wasskip*/false, in HandleElifDirective()