Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h718 bool reachedEOFWhileSkipping() const { return SkipInfo.has_value(); } in reachedEOFWhileSkipping()
720 void clearSkipInfo() { SkipInfo.reset(); } in clearSkipInfo()
722 std::optional<PreambleSkipInfo> SkipInfo; variable
2741 ArrayRef<PPConditionalInfo> s, std::optional<PreambleSkipInfo> SkipInfo) { in setReplayablePreambleConditionalStack() argument
2744 PreambleConditionalStack.SkipInfo = SkipInfo; in setReplayablePreambleConditionalStack()
2748 return PreambleConditionalStack.SkipInfo; in getPreambleSkipInfo()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp674 PreambleConditionalStack.SkipInfo->HashTokenLoc, in replayPreambleConditionalStack()
675 PreambleConditionalStack.SkipInfo->IfTokenLoc, in replayPreambleConditionalStack()
676 PreambleConditionalStack.SkipInfo->FoundNonSkipPortion, in replayPreambleConditionalStack()
677 PreambleConditionalStack.SkipInfo->FoundElse, in replayPreambleConditionalStack()
678 PreambleConditionalStack.SkipInfo->ElseLoc); in replayPreambleConditionalStack()
H A DPPDirectives.cpp575 PreambleConditionalStack.SkipInfo.emplace(HashTokenLoc, IfTokenLoc, in SkipExcludedConditionalBlock()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2380 auto SkipInfo = PP.getPreambleSkipInfo(); in WritePreprocessor() local
2381 if (SkipInfo) { in WritePreprocessor()
2383 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2384 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2385 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2386 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2387 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
H A DASTReader.cpp3595 std::optional<Preprocessor::PreambleSkipInfo> SkipInfo; in ReadASTBlock() local
3602 SkipInfo.emplace(HashToken, IfTokenLoc, FoundNonSkipPortion, in ReadASTBlock()
3614 PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo); in ReadASTBlock()