Searched refs:ConditionalStack (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 75 SmallVector<PPConditionalInfo, 4> ConditionalStack; variable 99 ConditionalStack.push_back(CI); in pushConditionalLevel() 102 ConditionalStack.push_back(CI); in pushConditionalLevel() 109 if (ConditionalStack.empty()) in popConditionalLevel() 111 CI = ConditionalStack.pop_back_val(); in popConditionalLevel() 118 assert(!ConditionalStack.empty() && "No conditionals active!"); in peekConditionalLevel() 119 return ConditionalStack.back(); in peekConditionalLevel() 122 unsigned getConditionalStackDepth() const { return ConditionalStack.size(); } in getConditionalStackDepth() 167 return ConditionalStack.begin(); in conditional_begin() 171 return ConditionalStack.end(); in conditional_end() [all …]
|
D | Preprocessor.h | 470 return ConditionalStack; in getStack() 474 ConditionalStack.clear(); in doneReplaying() 481 ConditionalStack.clear(); in setStack() 482 ConditionalStack.append(s.begin(), s.end()); in setStack() 485 bool hasRecordedPreamble() const { return !ConditionalStack.empty(); } in hasRecordedPreamble() 494 SmallVector<PPConditionalInfo, 4> ConditionalStack;
|
/external/clang/include/clang/Lex/ |
D | PreprocessorLexer.h | 70 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/ |
D | PTHLexer.cpp | 141 while (!ConditionalStack.empty()) { in LexEndOfFile() 143 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile() 145 ConditionalStack.pop_back(); in LexEndOfFile()
|
D | PPDirectives.cpp | 399 while (!CurPPLexer->ConditionalStack.empty()) { in SkipExcludedConditionalBlock() 401 Diag(CurPPLexer->ConditionalStack.back().IfLoc, in SkipExcludedConditionalBlock() 403 CurPPLexer->ConditionalStack.pop_back(); in SkipExcludedConditionalBlock()
|
D | Lexer.cpp | 2534 while (!ConditionalStack.empty()) { in LexEndOfFile() 2536 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile() 2538 ConditionalStack.pop_back(); in LexEndOfFile()
|
/external/llvm-project/clang/lib/Lex/ |
D | Lexer.cpp | 2764 PP->setRecordedPreambleConditionalStack(ConditionalStack); in LexEndOfFile() 2765 ConditionalStack.clear(); in LexEndOfFile() 2771 while (!ConditionalStack.empty()) { in LexEndOfFile() 2773 PP->Diag(ConditionalStack.back().IfLoc, in LexEndOfFile() 2775 ConditionalStack.pop_back(); in LexEndOfFile()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTReader.cpp | 3337 SmallVector<PPConditionalInfo, 4> ConditionalStack; in ReadASTBlock() local 3343 ConditionalStack.push_back( in ReadASTBlock() 3346 PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo); in ReadASTBlock()
|