Home | History | Annotate | Download | only in Lex

Lines Matching refs:CurPPLexer

442   assert(!CurTokenLexer && CurPPLexer && "Lexing a macro, not a file?");
447 CurPPLexer->pushConditionalLevel(IfTokenLoc, /*isSkipping*/ false,
452 CurPPLexer->LexingRawMode = true;
488 CurPPLexer->ParsingPreprocessorDirective = true;
498 CurPPLexer->ParsingPreprocessorDirective = false;
514 CurPPLexer->ParsingPreprocessorDirective = false;
531 CurPPLexer->ParsingPreprocessorDirective = false;
548 CurPPLexer->pushConditionalLevel(Tok.getLocation(), /*wasskipping*/true,
557 bool InCond = CurPPLexer->popConditionalLevel(CondInfo);
565 CurPPLexer->LexingRawMode = false;
567 CurPPLexer->LexingRawMode = true;
578 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel();
592 CurPPLexer->LexingRawMode = false;
594 CurPPLexer->LexingRawMode = true;
602 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel();
614 assert(CurPPLexer->LexingRawMode && "We have to be skipping here!");
615 CurPPLexer->LexingRawMode = false;
619 if (!CurPPLexer)
622 CurPPLexer->LexingRawMode = true;
638 CurPPLexer->ParsingPreprocessorDirective = false;
646 CurPPLexer->LexingRawMode = false;
654 : CurPPLexer->getSourceLocation()),
841 if ((CurFileEnt = CurPPLexer->getFileEntry())) {
932 CurPPLexer->ParsingPreprocessorDirective = true;
936 CurPPLexer->MIOpt.getImmediatelyAfterTopLevelIfndef();
937 CurPPLexer->MIOpt.resetImmediatelyAfterTopLevelIfndef();
944 bool ReadAnyTokensBeforeDirective =CurPPLexer->MIOpt.getHasReadAnyTokensVal();
995 CurPPLexer->getConditionalStackDepth() > 0);
1247 Callbacks->FileChanged(CurPPLexer->getSourceLocation(),
1399 Callbacks->FileChanged(CurPPLexer->getSourceLocation(), Reason, FileKind);
2328 assert(CurPPLexer && "#include_next directive in macro?");
2329 LookupFromFile = CurPPLexer->getFileEntry();
2573 CurPPLexer->MIOpt.SetDefinedMacro(MacroNameTok.getIdentifierInfo(),
2991 if (CurPPLexer->getConditionalStackDepth() == 0) {
2998 CurPPLexer->MIOpt.EnterTopLevelIfndef(MII, MacroNameTok.getLocation());
3000 CurPPLexer->MIOpt.EnterTopLevelConditional();
3021 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(),
3026 CurPPLexer->pushConditionalLevel(DirectiveTok.getLocation(),
3051 if (!CurPPLexer)
3056 if (CurPPLexer->getConditionalStackDepth() == 0) {
3059 CurPPLexer->MIOpt.EnterTopLevelIfndef(IfNDefMacro, IfToken.getLocation());
3061 CurPPLexer->MIOpt.EnterTopLevelConditional();
3076 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false,
3080 CurPPLexer->pushConditionalLevel(IfToken.getLocation(), /*wasskip*/false,
3099 if (CurPPLexer->popConditionalLevel(CondInfo)) {
3106 if (CurPPLexer->getConditionalStackDepth() == 0)
3107 CurPPLexer->MIOpt.ExitTopLevelConditional();
3109 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode &&
3125 if (CurPPLexer->popConditionalLevel(CI)) {
3131 if (CurPPLexer->getConditionalStackDepth() == 0)
3132 CurPPLexer->MIOpt.EnterTopLevelConditional();
3146 CurPPLexer->pushConditionalLevel(CI.IfLoc, /*wasskip*/false,
3169 if (CurPPLexer->popConditionalLevel(CI)) {
3175 if (CurPPLexer->getConditionalStackDepth() == 0)
3176 CurPPLexer->MIOpt.EnterTopLevelConditional();
3191 CurPPLexer->pushConditionalLevel(ElifToken.getLocation(), /*wasskip*/false,