Lines Matching defs:toProtobuf
243 LookupRequest Marshaller::toProtobuf(const clangd::LookupRequest &From) {
250 FuzzyFindRequest Marshaller::toProtobuf(const clangd::FuzzyFindRequest &From) {
271 RefsRequest Marshaller::toProtobuf(const clangd::RefsRequest &From) {
283 Marshaller::toProtobuf(const clangd::ContainedRefsRequest &From) {
291 RelationsRequest Marshaller::toProtobuf(const clangd::RelationsRequest &From) {
301 llvm::Expected<Symbol> Marshaller::toProtobuf(const clangd::Symbol &From) {
304 *Result.mutable_info() = toProtobuf(From.SymInfo);
307 auto Definition = toProtobuf(From.Definition);
313 auto Declaration = toProtobuf(From.CanonicalDeclaration);
326 auto Serialized = toProtobuf(Header);
336 llvm::Expected<Ref> Marshaller::toProtobuf(const clangd::Ref &From) {
339 auto Location = toProtobuf(From.Location);
347 Marshaller::toProtobuf(const clangd::ContainedRefsResult &From) {
349 auto Location = toProtobuf(From.Location);
358 llvm::Expected<Relation> Marshaller::toProtobuf(const clangd::SymbolID &Subject,
362 auto SerializedObject = toProtobuf(Object);
411 Marshaller::toProtobuf(const clangd::SymbolLocation::Position &Position) {
428 SymbolInfo Marshaller::toProtobuf(const clang::index::SymbolInfo &Info) {
450 Marshaller::toProtobuf(const clangd::SymbolLocation &Location) {
456 *Result.mutable_start() = toProtobuf(Location.Start);
457 *Result.mutable_end() = toProtobuf(Location.End);
461 llvm::Expected<HeaderWithReferences> Marshaller::toProtobuf(