Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DPreprocessorLexer.h68 SmallVector<PPConditionalInfo, 4> ConditionalStack; variable
103 ConditionalStack.push_back(CI); in pushConditionalLevel()
106 ConditionalStack.push_back(CI); in pushConditionalLevel()
113 if (ConditionalStack.empty()) return true; in popConditionalLevel()
114 CI = ConditionalStack.back(); in popConditionalLevel()
115 ConditionalStack.pop_back(); in popConditionalLevel()
122 assert(!ConditionalStack.empty() && "No conditionals active!"); in peekConditionalLevel()
123 return ConditionalStack.back(); in peekConditionalLevel()
126 unsigned getConditionalStackDepth() const { return ConditionalStack.size(); } in getConditionalStackDepth()
171 return ConditionalStack.begin(); in conditional_begin()
[all …]
/external/clang/lib/Lex/
DPTHLexer.cpp149 while (!ConditionalStack.empty()) { in LexEndOfFile()
151 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
153 ConditionalStack.pop_back(); in LexEndOfFile()
DPPDirectives.cpp235 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock()
237 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock()
239 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
DLexer.cpp2369 while (!ConditionalStack.empty()) { in LexEndOfFile()
2371 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile()
2373 ConditionalStack.pop_back(); in LexEndOfFile()