/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | IndexTests.cpp | 294 L.CanonicalDeclaration.FileURI = "file:///left.h"; // differs in TEST() 295 R.CanonicalDeclaration.FileURI = "file:///right.h"; in TEST() 307 EXPECT_EQ(StringRef(M.CanonicalDeclaration.FileURI), "file:///left.h"); in TEST() 321 L.CanonicalDeclaration.FileURI = "file:/left.h"; in TEST() 322 R.CanonicalDeclaration.FileURI = "file:/right.h"; in TEST() 327 EXPECT_EQ(StringRef(M.CanonicalDeclaration.FileURI), "file:/left.h"); in TEST() 333 EXPECT_EQ(StringRef(M.CanonicalDeclaration.FileURI), "file:/right.h"); in TEST() 342 L.CanonicalDeclaration.FileURI = "file:/x.proto.h"; in TEST() 343 R.CanonicalDeclaration.FileURI = "file:/x.proto"; in TEST() 346 EXPECT_EQ(StringRef(M.CanonicalDeclaration.FileURI), "file:/x.proto"); in TEST() [all …]
|
D | SerializationTests.cpp | 145 EXPECT_EQ(StringRef(Sym1.CanonicalDeclaration.FileURI), "file:///path/foo.h"); in TEST() 157 EXPECT_EQ(llvm::StringRef(Sym2.CanonicalDeclaration.FileURI), in TEST()
|
D | FileIndexTests.cpp | 57 return llvm::StringRef(arg.CanonicalDeclaration.FileURI) == U; 134 X1.CanonicalDeclaration.FileURI = "file:///x1"; in TEST() 584 Sym1.CanonicalDeclaration.FileURI = AHeaderUri.c_str(); in TEST() 587 Sym2.CanonicalDeclaration.FileURI = BHeaderUri.c_str(); in TEST()
|
D | CodeCompleteTests.cpp | 735 Sym.CanonicalDeclaration.FileURI = BarURI.c_str(); in TEST() 765 SymX.CanonicalDeclaration.FileURI = BarURI.c_str(); in TEST() 766 SymY.CanonicalDeclaration.FileURI = BarURI.c_str(); in TEST() 1608 NoArgsGFunc.CanonicalDeclaration.FileURI = DeclFile.c_str(); in TEST() 1639 SymX.CanonicalDeclaration.FileURI = BarURI.c_str(); in TEST() 1640 SymY.CanonicalDeclaration.FileURI = BarURI.c_str(); in TEST() 2370 Sym.CanonicalDeclaration.FileURI = DeclFile.c_str(); in TEST() 2390 Sym.CanonicalDeclaration.FileURI = DeclFile.c_str(); in TEST()
|
D | DexTests.cpp | 654 RootSymbol.CanonicalDeclaration.FileURI = "unittest:///file.h"; in TEST() 656 CloseSymbol.CanonicalDeclaration.FileURI = "unittest:///a/b/c/d/e/f/file.h"; in TEST()
|
D | DiagnosticsTests.cpp | 722 Sym.CanonicalDeclaration.FileURI = S.DeclaringFile.c_str(); in buildIndexWithSymbol() 825 Sym.CanonicalDeclaration.FileURI = "unittest:///x.h"; in TEST()
|
D | SymbolCollectorTests.cpp | 62 return StringRef(arg.CanonicalDeclaration.FileURI) == P; 80 return rangesMatch(arg.CanonicalDeclaration, Pos);
|
D | BackgroundIndexTests.cpp | 33 return !StringRef(arg.CanonicalDeclaration.FileURI).empty();
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Merge.cpp | 187 if (prefer(O.CanonicalDeclaration, S.CanonicalDeclaration)) in mergeSymbol() 188 S.CanonicalDeclaration = O.CanonicalDeclaration; in mergeSymbol()
|
D | Symbol.h | 56 SymbolLocation CanonicalDeclaration; member 162 RawCharPointerCB(S.CanonicalDeclaration.FileURI); in visitStrings()
|
D | FileIndex.cpp | 131 auto It = Shards.try_emplace(S.CanonicalDeclaration.FileURI); in FileShardedIndex() 136 S.Definition.FileURI != S.CanonicalDeclaration.FileURI) { in FileShardedIndex()
|
D | SymbolCollector.cpp | 473 S.CanonicalDeclaration = *DeclLoc; in handleMacroOccurrence() 672 S.CanonicalDeclaration = *DeclLoc; in addDeclaration()
|
D | Serialization.cpp | 320 writeLocation(Sym.CanonicalDeclaration, Strings, OS); in writeSymbol() 348 Sym.CanonicalDeclaration = readLocation(Data, Strings); in readSymbol()
|
D | YAMLSerialization.cpp | 204 IO.mapOptional("CanonicalDeclaration", Sym.CanonicalDeclaration, in mapping()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | IncludeFixer.cpp | 144 Matched.CanonicalDeclaration.FileURI == Matched.Definition.FileURI) in fixIncompleteType() 154 URI::resolve(Sym.CanonicalDeclaration.FileURI, File); in fixesForSymbols() 453 Matched.CanonicalDeclaration.FileURI == Matched.Definition.FileURI) in lookupCached()
|
D | HeaderSourceSwitch.cpp | 105 AwardTarget(Sym.CanonicalDeclaration.FileURI); in getCorrespondingHeaderOrSource()
|
D | XRefs.cpp | 169 ASTSym.CanonicalDeclaration = toIndexLocation(ASTLoc, Scratch); in getPreferredLocation() 170 IdxSym.CanonicalDeclaration = IdxLoc; in getPreferredLocation() 172 return Merged.CanonicalDeclaration; in getPreferredLocation() 401 if (auto Loc = toLSPLocation(Sym.CanonicalDeclaration, MainFilePath)) in locateASTReferent() 416 Sym.CanonicalDeclaration, Scratch), in locateASTReferent() 499 indexToLSPLocation(Sym.CanonicalDeclaration, MainFilePath); in locateSymbolTextually() 1162 indexToLSPLocation(Object.CanonicalDeclaration, *MainFilePath); in findImplementations()
|
D | FindSymbols.cpp | 83 Sym.Definition ? Sym.Definition : Sym.CanonicalDeclaration, TUPath); in symbolToLocation()
|
D | Quality.cpp | 291 SymbolURI = IndexResult.CanonicalDeclaration.FileURI; in merge()
|
D | CodeComplete.cpp | 340 URI::resolve(C.IndexResult->CanonicalDeclaration.FileURI, FileName); in CodeCompletionBuilder() 365 C.IndexResult->CanonicalDeclaration.FileURI, Inc, FileName, in CodeCompletionBuilder()
|
/external/llvm-project/clang-tools-extra/clangd/index/dex/ |
D | Dex.cpp | 65 if (!llvm::StringRef(Sym.CanonicalDeclaration.FileURI).empty()) in add() 67 generateProximityURIs(Sym.CanonicalDeclaration.FileURI)) in add()
|
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
D | Marshalling.cpp | 162 Result.CanonicalDeclaration = *Declaration; in fromProtobuf() 267 auto Declaration = toProtobuf(From.CanonicalDeclaration); in toProtobuf()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/ |
D | MarshallingTests.cpp | 74 Sym.CanonicalDeclaration = Location; in createSymbol()
|