Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DStdLibTests.cpp105 WithContextValue Disabled(Config::Key, std::move(Cfg)); in TEST()
113 WithContextValue Enabled(Config::Key, std::move(Cfg)); in TEST()
135 WithContextValue Enabled(Config::Key, std::move(Cfg)); in TEST()
H A DProjectAwareIndexTests.cpp50 WithContextValue With(Config::Key, std::move(C)); in TEST()
76 WithContextValue With(Config::Key, std::move(C)); in TEST()
H A 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()
H A DInlayHintTests.cpp95 WithContextValue WithCfg(Config::Key, noHintsConfig()); in assertHints()
121 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in assertDesignatorHints()
H A DTUSchedulerTests.cpp110 WithContextValue Ctx(llvm::make_scope_exit(std::move(CB))); in updateWithCallback()
154 WithContextValue Ctx(DiagsCallbackKey, in updateWithDiags()
502 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
524 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
544 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
961 WithContextValue CtxWithKey(TestKey, 10); in TEST_F()
H A DDiagnosticsTests.cpp474 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
491 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
1829 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
1842 WithContextValue SuppressAllWithCfg(Config::Key, std::move(Cfg)); in TEST()
1846 WithContextValue SuppressFilterWithCfg(Config::Key, std::move(Cfg)); in TEST()
H A DCompileCommandsTests.cpp187 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST()
H A DHoverTests.cpp1059 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
2614 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
3005 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
3184 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in TEST()
H A DClangdTests.cpp319 WithContextValue Entrypoint(Secret, 42); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DContext.h202 class LLVM_NODISCARD WithContextValue {
205 WithContextValue(const Key<T> &K, typename std::decay<T>::type V) in WithContextValue() function
210 WithContextValue(T &&V) in WithContextValue() function
H A DTrace.cpp290 llvm::Optional<WithContextValue> WithLatency; in makeSpanContext()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/
H A DServer.cpp134 WithContextValue WithRequestContext(CurrentRequest, Context); in Lookup()
179 WithContextValue WithRequestContext(CurrentRequest, Context); in FuzzyFind()
222 WithContextValue WithRequestContext(CurrentRequest, Context); in Refs()
265 WithContextValue WithRequestContext(CurrentRequest, Context); in Relations()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/tweaks/
H A DAddUsingTests.cpp23 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST_F()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DClangdLSPServer.cpp489 llvm::Optional<WithContextValue> WithOffsetEncoding; in onInitialize()