Searched refs:SymbolOrigin (Results 1 – 21 of 21) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | SymbolOrigin.h | 21 enum class SymbolOrigin : uint8_t { enum 32 inline SymbolOrigin operator|(SymbolOrigin A, SymbolOrigin B) { 33 return static_cast<SymbolOrigin>(static_cast<uint8_t>(A) | 36 inline SymbolOrigin &operator|=(SymbolOrigin &A, SymbolOrigin B) { 39 inline SymbolOrigin operator&(SymbolOrigin A, SymbolOrigin B) { 40 return static_cast<SymbolOrigin>(static_cast<uint8_t>(A) & 44 llvm::raw_ostream &operator<<(llvm::raw_ostream &, SymbolOrigin);
|
D | SymbolOrigin.cpp | 14 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, SymbolOrigin O) { in operator <<() 15 if (O == SymbolOrigin::Unknown) in operator <<()
|
D | SymbolCollector.h | 72 SymbolOrigin Origin = SymbolOrigin::Unknown;
|
D | Symbol.h | 61 SymbolOrigin Origin = SymbolOrigin::Unknown;
|
D | YAMLSerialization.cpp | 72 using clang::clangd::SymbolOrigin; 114 NormalizedSymbolOrigin(IO &, SymbolOrigin O) { in NormalizedSymbolOrigin() 118 SymbolOrigin denormalize(IO &) { return static_cast<SymbolOrigin>(Origin); } in denormalize() 198 MappingNormalization<NormalizedSymbolOrigin, SymbolOrigin> NSymbolOrigin( in mapping()
|
D | IndexAction.cpp | 216 if (Opts.Origin == SymbolOrigin::Unknown) in createStaticIndexingAction() 217 Opts.Origin = SymbolOrigin::Static; in createStaticIndexingAction()
|
D | Merge.cpp | 224 S.Origin |= O.Origin | SymbolOrigin::Merge; in mergeSymbol()
|
D | FileIndex.cpp | 57 CollectorOpts.Origin = SymbolOrigin::Dynamic; in indexSymbols()
|
D | Serialization.cpp | 351 Sym.Origin = static_cast<SymbolOrigin>(Data.consume8()); in readSymbol()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeComplete.h | 204 SymbolOrigin Origin = SymbolOrigin::Unknown;
|
D | CodeComplete.cpp | 280 Completion.Origin |= SymbolOrigin::AST; in CodeCompletionBuilder() 331 Completion.Origin |= SymbolOrigin::Identifier; in CodeCompletionBuilder() 1689 SymbolOrigin Origin = SymbolOrigin::Unknown; in addCandidate() 1715 Origin |= SymbolOrigin::AST; in addCandidate() 1720 Origin |= SymbolOrigin::Identifier; in addCandidate() 1733 NSema += bool(Origin & SymbolOrigin::AST); in addCandidate() 1735 NSemaAndIndex += bool(Origin & SymbolOrigin::AST) && FromIndex; in addCandidate() 1736 NIdent += bool(Origin & SymbolOrigin::Identifier); in addCandidate()
|
D | CMakeLists.txt | 109 index/SymbolOrigin.cpp
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 301 L.Origin = SymbolOrigin::Dynamic; in TEST() 302 R.Origin = SymbolOrigin::Static; in TEST() 314 SymbolOrigin::Dynamic | SymbolOrigin::Static | SymbolOrigin::Merge); in TEST()
|
D | TestIndex.cpp | 56 Sym.Origin = SymbolOrigin::Static; in sym()
|
D | CodeCompleteTests.cpp | 709 AllOf(Named("local"), Origin(SymbolOrigin::AST)), in TEST() 710 AllOf(Named("Index"), Origin(SymbolOrigin::Static)), in TEST() 712 Origin(SymbolOrigin::AST | SymbolOrigin::Static)))); in TEST() 1792 C.Origin = SymbolOrigin::AST | SymbolOrigin::Static; in TEST()
|
D | SerializationTests.cpp | 146 EXPECT_EQ(Sym1.Origin, static_cast<SymbolOrigin>(1 << 7)); in TEST()
|
D | SymbolCollectorTests.cpp | 1663 CollectorOpts.Origin = SymbolOrigin::Static; in TEST_F() 1666 Field(&Symbol::Origin, SymbolOrigin::Static))); in TEST_F() 1669 Field(&Symbol::Origin, SymbolOrigin::Static))); in TEST_F()
|
D | FileIndexTests.cpp | 494 hasOrign(SymbolOrigin::Merge)))); in TEST()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/ |
D | MarshallingTests.cpp | 77 Sym.Origin = clangd::SymbolOrigin::Static; in createSymbol() 159 Sym.Origin = SymbolOrigin::Remote; in TEST() 264 Sym.Origin = SymbolOrigin::Remote; in TEST()
|
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/ |
D | BUILD.gn | 129 "index/SymbolOrigin.cpp",
|
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
D | Marshalling.cpp | 165 Result.Origin = clangd::SymbolOrigin::Remote; in fromProtobuf()
|