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

//===-- BackgroundRebuild.cpp - when to rebuild thei background index -----===//
//
// 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/BackgroundRebuild.h"
#include "index/FileIndex.h"
#include "support/Logger.h"
#include "support/Trace.h"

#include <atomic>
#include <chrono>
#include <condition_variable>
#include <memory>
#include <mutex>
#include <numeric>
#include <queue>
#include <random>
#include <string>
#include <thread>

namespace clang {
namespace clangd {

bool BackgroundIndexRebuilder::enoughTUsToRebuild() const {}

void BackgroundIndexRebuilder::indexedTU() {}

void BackgroundIndexRebuilder::idle() {}

void BackgroundIndexRebuilder::startLoading() {}
void BackgroundIndexRebuilder::loadedShard(size_t ShardCount) {}
void BackgroundIndexRebuilder::doneLoading() {}

void BackgroundIndexRebuilder::shutdown() {}

void BackgroundIndexRebuilder::maybeRebuild(const char *Reason,
                                            std::function<bool()> Check) {}

} // namespace clangd
} // namespace clang