Lines Matching refs:CurPPLexer

499   assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?");  in SkipExcludedConditionalBlock()
504 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/ false, in SkipExcludedConditionalBlock()
509 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
594 CurPPLexer->ParsingPreprocessorDirective = true; in SkipExcludedConditionalBlock()
607 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
623 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
640 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
657 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true, in SkipExcludedConditionalBlock()
668 bool InCond = CurPPLexer->popConditionalLevel(CondInfo); in SkipExcludedConditionalBlock()
677 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
679 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
690 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock()
708 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
710 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
718 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock()
738 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!"); in SkipExcludedConditionalBlock()
739 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
743 if (!CurPPLexer) in SkipExcludedConditionalBlock()
746 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
762 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock()
795 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!"); in SkipExcludedConditionalBlock()
796 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
799 CurPPLexer->LexingRawMode = true; in SkipExcludedConditionalBlock()
839 CurPPLexer->ParsingPreprocessorDirective = false; in SkipExcludedConditionalBlock()
847 CurPPLexer->LexingRawMode = false; in SkipExcludedConditionalBlock()
855 : CurPPLexer->getSourceLocation()), in SkipExcludedConditionalBlock()
1045 if ((CurFileEnt = CurPPLexer->getFileEntry())) { in LookupFile()
1136 CurPPLexer->ParsingPreprocessorDirective = true; in HandleDirective()
1140 CurPPLexer->MIOpt.getImmediatelyAfterTopLevelIfndef(); in HandleDirective()
1141 CurPPLexer->MIOpt.resetImmediatelyAfterTopLevelIfndef(); in HandleDirective()
1148 bool ReadAnyTokensBeforeDirective =CurPPLexer->MIOpt.getHasReadAnyTokensVal(); in HandleDirective()
1199 CurPPLexer->getConditionalStackDepth() > 0); in HandleDirective()
1464 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), in HandleLineDirective()
1624 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind); in HandleDigitDirective()
1929 assert(CurPPLexer && "#include_next directive in macro?"); in getIncludeNextStart()
1930 LookupFromFile = CurPPLexer->getFileEntry(); in getIncludeNextStart()
2816 CurPPLexer->MIOpt.SetDefinedMacro(MacroNameTok.getIdentifierInfo(), in ReadOptionalMacroParameterListAndBody()
3255 if (CurPPLexer->getConditionalStackDepth() == 0) { in HandleIfdefDirective()
3262 CurPPLexer->MIOpt.EnterTopLevelIfndef(MII, MacroNameTok.getLocation()); in HandleIfdefDirective()
3264 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleIfdefDirective()
3285 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
3290 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(), in HandleIfdefDirective()
3315 if (!CurPPLexer) in HandleIfDirective()
3320 if (CurPPLexer->getConditionalStackDepth() == 0) { in HandleIfDirective()
3323 CurPPLexer->MIOpt.EnterTopLevelIfndef(IfNDefMacro, IfToken.getLocation()); in HandleIfDirective()
3325 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleIfDirective()
3340 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3344 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false, in HandleIfDirective()
3363 if (CurPPLexer->popConditionalLevel(CondInfo)) { in HandleEndifDirective()
3370 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleEndifDirective()
3371 CurPPLexer->MIOpt.ExitTopLevelConditional(); in HandleEndifDirective()
3373 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode && in HandleEndifDirective()
3389 if (CurPPLexer->popConditionalLevel(CI)) { in HandleElseDirective()
3395 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleElseDirective()
3396 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleElseDirective()
3410 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false, in HandleElseDirective()
3453 if (CurPPLexer->popConditionalLevel(CI)) { in HandleElifFamilyDirective()
3459 if (CurPPLexer->getConditionalStackDepth() == 0) in HandleElifFamilyDirective()
3460 CurPPLexer->MIOpt.EnterTopLevelConditional(); in HandleElifFamilyDirective()
3490 CurPPLexer->pushConditionalLevel(ElifToken.getLocation(), /*wasskip*/false, in HandleElifFamilyDirective()