Home
last modified time | relevance | path

Searched refs:SourceFlag (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DHeaders.h69 enum class SourceFlag : uint8_t { enum
77 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) {
/external/llvm-project/clang-tools-extra/clangd/index/
DBackgroundIndexLoader.cpp86 LS.CountReferences = IGN.Flags & IncludeGraphNode::SourceFlag::IsTU; in loadShard()
87 LS.HadErrors = IGN.Flags & IncludeGraphNode::SourceFlag::HadErrors; in loadShard()
DYAMLSerialization.cpp323 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()
DIndexAction.cpp81 Node.Flags |= IncludeGraphNode::SourceFlag::IsTU; in FileChanged()
DBackground.cpp342 It.second.Flags |= IncludeGraphNode::SourceFlag::HadErrors; in index()
DSerialization.cpp286 IGN.Flags = static_cast<IncludeGraphNode::SourceFlag>(Data.consume8()); in readIncludeGraphNode()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSerializationTests.cpp191 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()
DIndexActionTests.cpp30 MATCHER(IsTU, "") { return arg.Flags & IncludeGraphNode::SourceFlag::IsTU; }
DBackgroundIndexTests.cpp43 return arg.Flags == IncludeGraphNode::SourceFlag::None && !arg.URI.empty() &&
48 return arg.Flags & IncludeGraphNode::SourceFlag::HadErrors;