Searched refs:BackgroundIndex (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | BackgroundIndexTests.cpp | 101 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F() 132 BackgroundIndex::Options Opts; in TEST_F() 151 BackgroundIndex Idx( in TEST_F() 193 BackgroundIndex::Options Opts; in TEST_F() 194 BackgroundIndex Idx( in TEST_F() 248 BackgroundIndex::Options Opts; in TEST_F() 249 BackgroundIndex Idx( in TEST_F() 532 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F() 563 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F() 626 BackgroundIndex Idx(FS, CDB, [&](llvm::StringRef) { return &MSS; }, in TEST_F() [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | Background.cpp | 91 BackgroundIndex::BackgroundIndex( in BackgroundIndex() function in clang::clangd::BackgroundIndex 116 BackgroundIndex::~BackgroundIndex() { in ~BackgroundIndex() 121 BackgroundQueue::Task BackgroundIndex::changedFilesTask( in changedFilesTask() 155 BackgroundQueue::Task BackgroundIndex::indexFileTask(std::string Path) { in indexFileTask() 175 void BackgroundIndex::boostRelated(llvm::StringRef Path) { in boostRelated() 183 void BackgroundIndex::update( in update() 252 llvm::Error BackgroundIndex::index(tooling::CompileCommand Cmd) { in index() 355 BackgroundIndex::loadProject(std::vector<std::string> MainFiles) { in loadProject() 420 void BackgroundIndex::profile(MemoryTree &MT) const { in profile()
|
| H A D | Background.h | 133 class BackgroundIndex : public SwapIndex { 151 BackgroundIndex(const ThreadsafeFS &, const GlobalCompilationDatabase &CDB, 154 ~BackgroundIndex(); // Blocks while the current task finishes.
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ClangdServer.h | 115 bool BackgroundIndex = false; member 423 std::unique_ptr<BackgroundIndex> BackgroundIdx;
|
| H A D | ClangdServer.cpp | 205 if (Opts.BackgroundIndex) { in ClangdServer() 206 BackgroundIndex::Options BGOpts; in ClangdServer() 213 BackgroundIdx = std::make_unique<BackgroundIndex>( in ClangdServer()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/tool/ |
| H A D | ClangdMain.cpp | 893 Opts.BackgroundIndex = EnableBackgroundIndex; in main()
|