Home
last modified time | relevance | path

Searched refs:SkipInfo (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/include/clang/Lex/
DPreprocessor.h487 bool reachedEOFWhileSkipping() const { return SkipInfo.hasValue(); } in reachedEOFWhileSkipping()
489 void clearSkipInfo() { SkipInfo.reset(); } in clearSkipInfo()
491 llvm::Optional<PreambleSkipInfo> SkipInfo; variable
2329 llvm::Optional<PreambleSkipInfo> SkipInfo) { in setReplayablePreambleConditionalStack() argument
2332 PreambleConditionalStack.SkipInfo = SkipInfo; in setReplayablePreambleConditionalStack()
2336 return PreambleConditionalStack.SkipInfo; in getPreambleSkipInfo()
/external/llvm-project/clang/lib/Lex/
DPreprocessor.cpp679 PreambleConditionalStack.SkipInfo->HashTokenLoc, in replayPreambleConditionalStack()
680 PreambleConditionalStack.SkipInfo->IfTokenLoc, in replayPreambleConditionalStack()
681 PreambleConditionalStack.SkipInfo->FoundNonSkipPortion, in replayPreambleConditionalStack()
682 PreambleConditionalStack.SkipInfo->FoundElse, in replayPreambleConditionalStack()
683 PreambleConditionalStack.SkipInfo->ElseLoc); in replayPreambleConditionalStack()
DPPDirectives.cpp455 PreambleConditionalStack.SkipInfo.emplace( in SkipExcludedConditionalBlock()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2161 auto SkipInfo = PP.getPreambleSkipInfo(); in WritePreprocessor() local
2162 if (SkipInfo.hasValue()) { in WritePreprocessor()
2164 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2165 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2166 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2167 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2168 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
DASTReader.cpp3327 llvm::Optional<Preprocessor::PreambleSkipInfo> SkipInfo; in ReadASTBlock() local
3334 SkipInfo.emplace(HashToken, IfTokenLoc, FoundNonSkipPortion, in ReadASTBlock()
3346 PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo); in ReadASTBlock()