Lines Matching refs:CondInfo

403         PPConditionalInfo CondInfo;  in SkipExcludedConditionalBlock()  local
404 CondInfo.WasSkipping = true; // Silence bogus warning. in SkipExcludedConditionalBlock()
405 bool InCond = CurPPLexer->popConditionalLevel(CondInfo); in SkipExcludedConditionalBlock()
410 if (!CondInfo.WasSkipping) { in SkipExcludedConditionalBlock()
417 Callbacks->Endif(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
426 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock() local
429 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_else_after_else); in SkipExcludedConditionalBlock()
432 CondInfo.FoundElse = true; in SkipExcludedConditionalBlock()
436 if (!CondInfo.WasSkipping && !CondInfo.FoundNonSkip) { in SkipExcludedConditionalBlock()
437 CondInfo.FoundNonSkip = true; in SkipExcludedConditionalBlock()
444 Callbacks->Else(Tok.getLocation(), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
450 PPConditionalInfo &CondInfo = CurPPLexer->peekConditionalLevel(); in SkipExcludedConditionalBlock() local
453 if (CondInfo.FoundElse) Diag(Tok, diag::pp_err_elif_after_else); in SkipExcludedConditionalBlock()
457 if (CondInfo.WasSkipping || CondInfo.FoundNonSkip) { in SkipExcludedConditionalBlock()
472 … (CondValue ? PPCallbacks::CVK_True : PPCallbacks::CVK_False), CondInfo.IfLoc); in SkipExcludedConditionalBlock()
476 CondInfo.FoundNonSkip = true; in SkipExcludedConditionalBlock()
509 PPConditionalInfo CondInfo; in PTHSkipExcludedConditionalBlock() local
510 bool InCond = CurPTHLexer->popConditionalLevel(CondInfo); in PTHSkipExcludedConditionalBlock()
529 PPConditionalInfo &CondInfo = CurPTHLexer->peekConditionalLevel(); in PTHSkipExcludedConditionalBlock() local
531 CondInfo.FoundElse = true; in PTHSkipExcludedConditionalBlock()
534 if (!CondInfo.FoundNonSkip) { in PTHSkipExcludedConditionalBlock()
535 CondInfo.FoundNonSkip = true; in PTHSkipExcludedConditionalBlock()
550 PPConditionalInfo &CondInfo = CurPTHLexer->peekConditionalLevel(); in PTHSkipExcludedConditionalBlock() local
553 if (CondInfo.FoundElse) in PTHSkipExcludedConditionalBlock()
558 if (CondInfo.FoundNonSkip) in PTHSkipExcludedConditionalBlock()
569 CondInfo.FoundNonSkip = true; in PTHSkipExcludedConditionalBlock()
2490 PPConditionalInfo CondInfo; in HandleEndifDirective() local
2491 if (CurPPLexer->popConditionalLevel(CondInfo)) { in HandleEndifDirective()
2501 assert(!CondInfo.WasSkipping && !CurPPLexer->LexingRawMode && in HandleEndifDirective()
2505 Callbacks->Endif(EndifToken.getLocation(), CondInfo.IfLoc); in HandleEndifDirective()