Searched refs:toProtobuf (Results 1 – 5 of 5) sorted by relevance
58 LookupRequest toProtobuf(const clangd::LookupRequest &From);59 FuzzyFindRequest toProtobuf(const clangd::FuzzyFindRequest &From);60 RefsRequest toProtobuf(const clangd::RefsRequest &From);61 RelationsRequest toProtobuf(const clangd::RelationsRequest &From);63 llvm::Expected<Symbol> toProtobuf(const clangd::Symbol &From);64 llvm::Expected<Ref> toProtobuf(const clangd::Ref &From);65 llvm::Expected<Relation> toProtobuf(const clangd::SymbolID &Subject,81 Position toProtobuf(const clangd::SymbolLocation::Position &Position);83 SymbolInfo toProtobuf(const clang::index::SymbolInfo &Info);87 toProtobuf(const clangd::SymbolLocation &Location);[all …]
236 RefsRequest Marshaller::toProtobuf(const clangd::RefsRequest &From) { in toProtobuf() function in clang::clangd::remote::Marshaller260 *Result.mutable_info() = toProtobuf(From.SymInfo); in toProtobuf()263 auto Definition = toProtobuf(From.Definition); in toProtobuf()269 auto Declaration = toProtobuf(From.CanonicalDeclaration); in toProtobuf()282 auto Serialized = toProtobuf(Header); in toProtobuf()295 auto Location = toProtobuf(From.Location); in toProtobuf()306 auto SerializedObject = toProtobuf(Object); in toProtobuf()394 Marshaller::toProtobuf(const clangd::SymbolLocation &Location) { in toProtobuf() function in clang::clangd::remote::Marshaller400 *Result.mutable_start() = toProtobuf(Location.Start); in toProtobuf()401 *Result.mutable_end() = toProtobuf(Location.End); in toProtobuf()[all …]
154 auto Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()170 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()183 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()191 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()198 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()206 Serialized = WrongMarshaller.toProtobuf(Sym); in TEST()230 auto Serialized = ProtobufMarshaller.toProtobuf(Ref); in TEST()258 auto Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()271 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()281 Serialized = ProtobufMarshaller.toProtobuf(Sym); in TEST()[all …]
150 auto SerializedItem = ProtobufMarshaller->toProtobuf(Item); in Lookup()196 auto SerializedItem = ProtobufMarshaller->toProtobuf(Item); in FuzzyFind()238 auto SerializedItem = ProtobufMarshaller->toProtobuf(Item); in Refs()284 auto SerializedItem = ProtobufMarshaller->toProtobuf(Subject, Object); in Relations()
72 const auto RPCRequest = ProtobufMarshaller->toProtobuf(Request); in streamRPC()