Lines Matching refs:Strings
40 llvm::UniqueStringSaver &Strings) { in testPathURI() argument
42 return Strings.save(URI.toString()).begin(); in testPathURI()
46 llvm::UniqueStringSaver &Strings) { in createSymbol() argument
58 Sym.Name = Strings.save("Foo"); in createSymbol()
59 Sym.Scope = Strings.save("llvm::foo::bar::"); in createSymbol()
66 Location.FileURI = testPathURI(PathPrefix.str() + "Definition.cpp", Strings); in createSymbol()
73 Location.FileURI = testPathURI(PathPrefix.str() + "Declaration.h", Strings); in createSymbol()
78 Sym.Signature = Strings.save("(int X, char Y, Type T)"); in createSymbol()
79 Sym.TemplateSpecializationArgs = Strings.save("<int, char, bool, Type>"); in createSymbol()
81 Strings.save("({1: int X}, {2: char Y}, {3: Type T})"); in createSymbol()
82 Sym.Documentation = Strings.save("This is my amazing Foo constructor!"); in createSymbol()
83 Sym.ReturnType = Strings.save("Foo"); in createSymbol()
92 llvm::UniqueStringSaver Strings(Arena); in TEST() local
100 Strings); in TEST()
110 Strings)); in TEST()
130 Strings.save(UnittestURI->toString()).begin(); in TEST()
147 llvm::UniqueStringSaver Strings(Arena); in TEST() local
149 clangd::Symbol Sym = createSymbol("home/", Strings); in TEST()
190 Sym.Definition.FileURI = Strings.save(UnittestURI->toString()).begin(); in TEST()
196 Sym.Definition.FileURI = testPathURI("home/File.h", Strings); in TEST()
203 testPathURI("home/File.h", Strings)); in TEST()
216 llvm::UniqueStringSaver Strings(Arena); in TEST() local
224 "llvm-project/llvm/clang-tools-extra/clangd/Protocol.h", Strings); in TEST()
239 llvm::UniqueStringSaver Strings(Arena); in TEST() local
241 clangd::Symbol Sym = createSymbol("remote/", Strings); in TEST()
246 Strings.save(URI::createFile(testPath("project/Header.h")).toString()); in TEST()
249 Header.IncludeHeader = Strings.save("<iostream>"); in TEST()
252 Header.IncludeHeader = Strings.save("\"cstdio\""); in TEST()
268 Header.IncludeHeader = Strings.save(testPath("project/include/Common.h")); in TEST()
278 Header.IncludeHeader = Strings.save("NotAHeader"); in TEST()
405 llvm::UniqueStringSaver Strings(Arena); in TEST() local
407 clangd::Symbol Sym = createSymbol("remote/", Strings); in TEST()
435 llvm::UniqueStringSaver Strings(Arena); in TEST() local
439 testPathURI("remote/project/lib/File.cpp", Strings)); in TEST()
446 testPathURI("remote/project/lib/File.cpp", Strings)); in TEST()