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()
318 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock()320 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()322 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
2506 while (!ConditionalStack.empty()) { in LexEndOfFile()2508 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()2510 ConditionalStack.pop_back(); in LexEndOfFile()