Home
last modified time | relevance | path

Searched refs:BackgroundIndex (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DBackground.cpp94 BackgroundIndex::BackgroundIndex( in BackgroundIndex() function in clang::clangd::BackgroundIndex
118 BackgroundIndex::~BackgroundIndex() { in ~BackgroundIndex()
123 BackgroundQueue::Task BackgroundIndex::changedFilesTask( in changedFilesTask()
157 BackgroundQueue::Task BackgroundIndex::indexFileTask(std::string Path) { in indexFileTask()
174 void BackgroundIndex::boostRelated(llvm::StringRef Path) { in boostRelated()
182 void BackgroundIndex::update( in update()
251 llvm::Error BackgroundIndex::index(tooling::CompileCommand Cmd) { in index()
354 BackgroundIndex::loadProject(std::vector<std::string> MainFiles) { in loadProject()
418 void BackgroundIndex::profile(MemoryTree &MT) const { in profile()
DBackground.h130 class BackgroundIndex : public SwapIndex {
148 BackgroundIndex(const ThreadsafeFS &, const GlobalCompilationDatabase &CDB,
151 ~BackgroundIndex(); // Blocks while the current task finishes.
/external/llvm-project/clang-tools-extra/clangd/unittests/
DBackgroundIndexTests.cpp100 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
131 BackgroundIndex::Options Opts; in TEST_F()
149 BackgroundIndex Idx( in TEST_F()
191 BackgroundIndex::Options Opts; in TEST_F()
193 BackgroundIndex Idx( in TEST_F()
250 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
272 BackgroundIndex::Options Opts; in TEST_F()
274 BackgroundIndex Idx( in TEST_F()
316 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
326 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DClangdServer.h106 bool BackgroundIndex = false; member
379 std::unique_ptr<BackgroundIndex> BackgroundIdx;
DClangdServer.cpp179 if (Opts.BackgroundIndex) {
180 BackgroundIndex::Options BGOpts;
190 BackgroundIdx = std::make_unique<BackgroundIndex>(
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp786 Opts.BackgroundIndex = EnableBackgroundIndex; in main()