Home
last modified time | relevance | path

Searched refs:SymbolOrigin (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolOrigin.h21 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);
DSymbolOrigin.cpp14 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, SymbolOrigin O) { in operator <<()
15 if (O == SymbolOrigin::Unknown) in operator <<()
DSymbolCollector.h72 SymbolOrigin Origin = SymbolOrigin::Unknown;
DSymbol.h61 SymbolOrigin Origin = SymbolOrigin::Unknown;
DYAMLSerialization.cpp72 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()
DIndexAction.cpp216 if (Opts.Origin == SymbolOrigin::Unknown) in createStaticIndexingAction()
217 Opts.Origin = SymbolOrigin::Static; in createStaticIndexingAction()
DMerge.cpp224 S.Origin |= O.Origin | SymbolOrigin::Merge; in mergeSymbol()
DFileIndex.cpp57 CollectorOpts.Origin = SymbolOrigin::Dynamic; in indexSymbols()
DSerialization.cpp351 Sym.Origin = static_cast<SymbolOrigin>(Data.consume8()); in readSymbol()
/external/llvm-project/clang-tools-extra/clangd/
DCodeComplete.h204 SymbolOrigin Origin = SymbolOrigin::Unknown;
DCodeComplete.cpp280 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()
DCMakeLists.txt109 index/SymbolOrigin.cpp
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexTests.cpp301 L.Origin = SymbolOrigin::Dynamic; in TEST()
302 R.Origin = SymbolOrigin::Static; in TEST()
314 SymbolOrigin::Dynamic | SymbolOrigin::Static | SymbolOrigin::Merge); in TEST()
DTestIndex.cpp56 Sym.Origin = SymbolOrigin::Static; in sym()
DCodeCompleteTests.cpp709 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()
DSerializationTests.cpp146 EXPECT_EQ(Sym1.Origin, static_cast<SymbolOrigin>(1 << 7)); in TEST()
DSymbolCollectorTests.cpp1663 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()
DFileIndexTests.cpp494 hasOrign(SymbolOrigin::Merge)))); in TEST()
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp77 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/
DBUILD.gn129 "index/SymbolOrigin.cpp",
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.cpp165 Result.Origin = clangd::SymbolOrigin::Remote; in fromProtobuf()