Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/clang/lib/Lex/
H A DPreprocessor.cpp687 PreambleConditionalStack.SkipInfo->HashTokenLoc, in replayPreambleConditionalStack()
688 PreambleConditionalStack.SkipInfo->IfTokenLoc, in replayPreambleConditionalStack()
689 PreambleConditionalStack.SkipInfo->FoundNonSkipPortion, in replayPreambleConditionalStack()
690 PreambleConditionalStack.SkipInfo->FoundElse, in replayPreambleConditionalStack()
691 PreambleConditionalStack.SkipInfo->ElseLoc); in replayPreambleConditionalStack()
H A DPPDirectives.cpp555 PreambleConditionalStack.SkipInfo.emplace(HashTokenLoc, IfTokenLoc, in SkipExcludedConditionalBlock()
/openbsd/gnu/llvm/clang/include/clang/Lex/
H A DPreprocessor.h715 bool reachedEOFWhileSkipping() const { return SkipInfo.has_value(); } in reachedEOFWhileSkipping()
717 void clearSkipInfo() { SkipInfo.reset(); } in clearSkipInfo()
719 std::optional<PreambleSkipInfo> SkipInfo; variable
2742 ArrayRef<PPConditionalInfo> s, std::optional<PreambleSkipInfo> SkipInfo) { in setReplayablePreambleConditionalStack() argument
2745 PreambleConditionalStack.SkipInfo = SkipInfo; in setReplayablePreambleConditionalStack()
2749 return PreambleConditionalStack.SkipInfo; in getPreambleSkipInfo()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTWriter.cpp2317 auto SkipInfo = PP.getPreambleSkipInfo(); in WritePreprocessor() local
2318 if (SkipInfo) { in WritePreprocessor()
2320 AddSourceLocation(SkipInfo->HashTokenLoc, Record); in WritePreprocessor()
2321 AddSourceLocation(SkipInfo->IfTokenLoc, Record); in WritePreprocessor()
2322 Record.push_back(SkipInfo->FoundNonSkipPortion); in WritePreprocessor()
2323 Record.push_back(SkipInfo->FoundElse); in WritePreprocessor()
2324 AddSourceLocation(SkipInfo->ElseLoc, Record); in WritePreprocessor()
H A DASTReader.cpp3406 std::optional<Preprocessor::PreambleSkipInfo> SkipInfo; in ReadASTBlock() local
3413 SkipInfo.emplace(HashToken, IfTokenLoc, FoundNonSkipPortion, in ReadASTBlock()
3425 PP.setReplayablePreambleConditionalStack(ConditionalStack, SkipInfo); in ReadASTBlock()