Searched refs:SourceFlag (Results 1 – 9 of 9) sorted by relevance
69 enum class SourceFlag : uint8_t { enum77 SourceFlag Flags = SourceFlag::None;88 inline IncludeGraphNode::SourceFlag operator|(IncludeGraphNode::SourceFlag A,89 IncludeGraphNode::SourceFlag B) {90 return static_cast<IncludeGraphNode::SourceFlag>(static_cast<uint8_t>(A) |94 inline bool operator&(IncludeGraphNode::SourceFlag A,95 IncludeGraphNode::SourceFlag B) {99 inline IncludeGraphNode::SourceFlag &100 operator|=(IncludeGraphNode::SourceFlag &A, IncludeGraphNode::SourceFlag B) {
86 LS.CountReferences = IGN.Flags & IncludeGraphNode::SourceFlag::IsTU; in loadShard()87 LS.HadErrors = IGN.Flags & IncludeGraphNode::SourceFlag::HadErrors; in loadShard()
323 NormalizedSourceFlag(IO &, IncludeGraphNode::SourceFlag O) { in NormalizedSourceFlag()327 IncludeGraphNode::SourceFlag denormalize(IO &) { in denormalize()328 return static_cast<IncludeGraphNode::SourceFlag>(Flag); in denormalize()357 MappingNormalization<NormalizedSourceFlag, IncludeGraphNode::SourceFlag> in mapping()
81 Node.Flags |= IncludeGraphNode::SourceFlag::IsTU; in FileChanged()
342 It.second.Flags |= IncludeGraphNode::SourceFlag::HadErrors; in index()
286 IGN.Flags = static_cast<IncludeGraphNode::SourceFlag>(Data.consume8()); in readIncludeGraphNode()
191 EXPECT_EQ(IGNDeserialized.Flags, IncludeGraphNode::SourceFlag(1)); in TEST()247 IGN.Flags |= IncludeGraphNode::SourceFlag::IsTU; in TEST()248 IGN.Flags |= IncludeGraphNode::SourceFlag::HadErrors; in TEST()
30 MATCHER(IsTU, "") { return arg.Flags & IncludeGraphNode::SourceFlag::IsTU; }
43 return arg.Flags == IncludeGraphNode::SourceFlag::None && !arg.URI.empty() &&48 return arg.Flags & IncludeGraphNode::SourceFlag::HadErrors;