Searched refs:ConditionalStack (Results 1 – 4 of 4) sorted by relevance
70 SmallVector<PPConditionalInfo, 4> ConditionalStack; variable104 ConditionalStack.push_back(CI); in pushConditionalLevel()107 ConditionalStack.push_back(CI); in pushConditionalLevel()114 if (ConditionalStack.empty()) in popConditionalLevel()116 CI = ConditionalStack.pop_back_val(); in popConditionalLevel()123 assert(!ConditionalStack.empty() && "No conditionals active!"); in peekConditionalLevel()124 return ConditionalStack.back(); in peekConditionalLevel()127 unsigned getConditionalStackDepth() const { return ConditionalStack.size(); } in getConditionalStackDepth()174 return ConditionalStack.begin(); in conditional_begin()177 return ConditionalStack.end(); in conditional_end()
141 while (!ConditionalStack.empty()) { in LexEndOfFile()143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()145 ConditionalStack.pop_back(); in LexEndOfFile()
399 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock()401 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()403 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
2534 while (!ConditionalStack.empty()) { in LexEndOfFile()2536 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()2538 ConditionalStack.pop_back(); in LexEndOfFile()