Home
last modified time | relevance | path

Searched refs:WithContextValue (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DProjectAwareIndexTests.cpp50 WithContextValue With(Config::Key, std::move(C)); in TEST()
76 WithContextValue With(Config::Key, std::move(C)); in TEST()
DSourceCodeTests.cpp55 WithContextValue UTF8(kCurrentOffsetEncoding, OffsetEncoding::UTF8); in TEST()
64 WithContextValue UTF32(kCurrentOffsetEncoding, OffsetEncoding::UTF32); in TEST()
81 WithContextValue UTF32(kCurrentOffsetEncoding, Encoding); in TEST()
161 WithContextValue UTF32(kCurrentOffsetEncoding, OffsetEncoding::UTF32); in TEST()
218 WithContextValue UTF8(kCurrentOffsetEncoding, OffsetEncoding::UTF8); in TEST()
257 WithContextValue UTF32(kCurrentOffsetEncoding, OffsetEncoding::UTF32); in TEST()
277 WithContextValue UTF8(kCurrentOffsetEncoding, OffsetEncoding::UTF8); in TEST()
DTUSchedulerTests.cpp105 WithContextValue Ctx(llvm::make_scope_exit(std::move(CB))); in updateWithCallback()
149 WithContextValue Ctx(DiagsCallbackKey, in updateWithDiags()
462 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
484 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
504 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
880 WithContextValue CtxWithKey(TestKey, 10); in TEST_F()
DCompileCommandsTests.cpp203 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST()
DClangdTests.cpp320 WithContextValue Entrypoint(Secret, 42); in TEST()
/external/llvm-project/clang-tools-extra/clangd/support/
DContext.h204 class LLVM_NODISCARD WithContextValue {
207 WithContextValue(const Key<T> &K, typename std::decay<T>::type V) in WithContextValue() function
212 WithContextValue(T &&V) in WithContextValue() function
DTrace.cpp291 llvm::Optional<WithContextValue> WithLatency; in makeSpanContext()
/external/llvm-project/clang-tools-extra/clangd/index/remote/server/
DServer.cpp103 WithContextValue WithRequestContext(CurrentRequest, Context); in Lookup()
141 WithContextValue WithRequestContext(CurrentRequest, Context); in FuzzyFind()
179 WithContextValue WithRequestContext(CurrentRequest, Context); in Refs()
217 WithContextValue WithRequestContext(CurrentRequest, Context); in Relations()
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/
DAddUsingTests.cpp25 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/
DClangdLSPServer.cpp514 llvm::Optional<WithContextValue> WithOffsetEncoding; in onInitialize()