Searched refs:ContextProvider (Results 1 – 7 of 7) sorted by relevance
98 ContextProvider(std::move(Opts.ContextProvider)), in BackgroundIndex()129 if (ContextProvider) in changedFilesTask()130 WithProvidedContext.emplace(ContextProvider(/*Path=*/"")); in changedFilesTask()161 if (ContextProvider) in indexFileTask()162 WithProvidedContext.emplace(ContextProvider(Path)); in indexFileTask()356 if (ContextProvider) in loadProject()359 WithContext WithProvidedContext(ContextProvider(TU)); in loadProject()
141 std::function<Context(PathRef)> ContextProvider = nullptr; member196 std::function<Context(PathRef)> ContextProvider; variable
465 const std::function<Context(llvm::StringRef)> ContextProvider; member in clang::clangd::__anon5c4233ba0311::ASTWorker579 FileName(FileName), ContextProvider(Opts.ContextProvider), CDB(CDB), in ASTWorker()968 WithContext WithProvidedContext(ContextProvider(FileName)); in startTask()1066 WithContext WithProvidedContext(ContextProvider(FileName)); in run()1241 if (!Opts.ContextProvider) { in TUScheduler()1242 this->Opts.ContextProvider = [](llvm::StringRef) { in TUScheduler()1309 WithContext WithProvidedContext(Opts.ContextProvider(Path)); in run()1317 WithContext WithProvidedContext(Opts.ContextProvider(Path)); in run()1352 WithContext WithProvidedContext(Opts.ContextProvider(File)); in runWithPreamble()1379 WithContext WithProvidedContext(Opts.ContextProvider(File)); in runWithPreamble()
203 std::function<Context(PathRef)> ContextProvider; member
161 O.ContextProvider = [this](PathRef P) { in ClangdServer()186 BGOpts.ContextProvider = [this](PathRef P) { in __anonb0c0fe120802()
132 Opts.ContextProvider = [](PathRef P) { in TEST_F()
80 Opts.ContextProvider = bindPath; in optsForTest()