Home
last modified time | relevance | path

Searched refs:ContextProvider (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DBackground.cpp98 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()
DBackground.h141 std::function<Context(PathRef)> ContextProvider = nullptr; member
196 std::function<Context(PathRef)> ContextProvider; variable
/external/llvm-project/clang-tools-extra/clangd/
DTUScheduler.cpp465 const std::function<Context(llvm::StringRef)> ContextProvider; member in clang::clangd::__anon5c4233ba0311::ASTWorker
579 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()
DTUScheduler.h203 std::function<Context(PathRef)> ContextProvider; member
DClangdServer.cpp161 O.ContextProvider = [this](PathRef P) { in ClangdServer()
186 BGOpts.ContextProvider = [this](PathRef P) { in __anonb0c0fe120802()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DBackgroundIndexTests.cpp132 Opts.ContextProvider = [](PathRef P) { in TEST_F()
DTUSchedulerTests.cpp80 Opts.ContextProvider = bindPath; in optsForTest()