Home
last modified time | relevance | path

Searched refs:ConditionalStack (Results 1 – 4 of 4) sorted by relevance

/external/clang/include/clang/Lex/
DPreprocessorLexer.h70 SmallVector<PPConditionalInfo, 4> ConditionalStack; variable
104 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()
/external/clang/lib/Lex/
DPTHLexer.cpp141 while (!ConditionalStack.empty()) { in LexEndOfFile()
143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
145 ConditionalStack.pop_back(); in LexEndOfFile()
DPPDirectives.cpp318 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock()
320 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
322 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
DLexer.cpp2506 while (!ConditionalStack.empty()) { in LexEndOfFile()
2508 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
2510 ConditionalStack.pop_back(); in LexEndOfFile()