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.h738 bool reachedEOFWhileSkipping() const { return SkipInfo.has_value(); } in reachedEOFWhileSkipping()
740 void clearSkipInfo() { SkipInfo.reset(); } in clearSkipInfo()
742 std::optional<PreambleSkipInfo> SkipInfo; variable
2812 ArrayRef<PPConditionalInfo> s, std::optional<PreambleSkipInfo> SkipInfo) { in setReplayablePreambleConditionalStack() argument
2815 PreambleConditionalStack.SkipInfo = SkipInfo; in setReplayablePreambleConditionalStack()
2819 return PreambleConditionalStack.SkipInfo; in getPreambleSkipInfo()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DPreprocessor.cpp678 PreambleConditionalStack.SkipInfo->HashTokenLoc, in replayPreambleConditionalStack()
679 PreambleConditionalStack.SkipInfo->IfTokenLoc, in replayPreambleConditionalStack()
680 PreambleConditionalStack.SkipInfo->FoundNonSkipPortion, in replayPreambleConditionalStack()
681 PreambleConditionalStack.SkipInfo->FoundElse, in replayPreambleConditionalStack()
682 PreambleConditionalStack.SkipInfo->ElseLoc); in replayPreambleConditionalStack()
H A DPPDirectives.cpp576 PreambleConditionalStack.SkipInfo.emplace(HashTokenLoc, IfTokenLoc, in SkipExcludedConditionalBlock()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp2508 auto SkipInfo = PP.getPreambleSkipInfo(); in WritePreprocessor() local
2509 if (SkipInfo) { in WritePreprocessor()
2511 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2512 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2513 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2514 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2515 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
H A DASTReader.cpp3618 std::optional<Preprocessor::PreambleSkipInfo> SkipInfo; in ReadASTBlock() local
3625 SkipInfo.emplace(HashToken, IfTokenLoc, FoundNonSkipPortion, in ReadASTBlock()
3637 PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo); in ReadASTBlock()