llvm/clang-tools-extra/clangd/index/Index.cpp

//===--- Index.cpp -----------------------------------------------*- C++-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "Index.h"
#include "llvm/ADT/StringRef.h"
#include <limits>

namespace clang {
namespace clangd {

void SwapIndex::reset(std::unique_ptr<SymbolIndex> Index) {}
std::shared_ptr<SymbolIndex> SwapIndex::snapshot() const {}

bool fromJSON(const llvm::json::Value &Parameters, FuzzyFindRequest &Request,
              llvm::json::Path P) {}

llvm::json::Value toJSON(const FuzzyFindRequest &Request) {}

bool SwapIndex::fuzzyFind(const FuzzyFindRequest &R,
                          llvm::function_ref<void(const Symbol &)> CB) const {}
void SwapIndex::lookup(const LookupRequest &R,
                       llvm::function_ref<void(const Symbol &)> CB) const {}
bool SwapIndex::refs(const RefsRequest &R,
                     llvm::function_ref<void(const Ref &)> CB) const {}
void SwapIndex::relations(
    const RelationsRequest &R,
    llvm::function_ref<void(const SymbolID &, const Symbol &)> CB) const {}

llvm::unique_function<IndexContents(llvm::StringRef) const>
SwapIndex::indexedFiles() const {}

size_t SwapIndex::estimateMemoryUsage() const {}

} // namespace clangd
} // namespace clang