Lines Matching refs:CondInfo
534 PPConditionalInfo CondInfo; in SkipExcludedConditionalBlock() local
535 CondInfo.WasSkipping = true; // Silence bogus warning. in SkipExcludedConditionalBlock()
536 bool InCond = CurPPLexer->popConditionalLevel(CondInfo); in SkipExcludedConditionalBlock()
541 if (!CondInfo.WasSkipping) { in SkipExcludedConditionalBlock()
548 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
557 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock() local
560 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else); in SkipExcludedConditionalBlock()
563 CondInfo.FoundElse = true; in SkipExcludedConditionalBlock()
567 if (!CondInfo.WasSkipping && !CondInfo.FoundNonSkip) { in SkipExcludedConditionalBlock()
568 CondInfo.FoundNonSkip = true; in SkipExcludedConditionalBlock()
575 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
581 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock() local
584 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_elif_after_else); in SkipExcludedConditionalBlock()
588 if (CondInfo.WasSkipping || CondInfo.FoundNonSkip) { in SkipExcludedConditionalBlock()
603 CondInfo.IfLoc); in SkipExcludedConditionalBlock()
607 CondInfo.FoundNonSkip = true; in SkipExcludedConditionalBlock()
3053 PPConditionalInfo CondInfo; in HandleEndifDirective() local
3054 if (CurPPLexer->popConditionalLevel(CondInfo)) { in HandleEndifDirective()
3064 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode && in HandleEndifDirective()
3068 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()