Searched refs:WithContextValue (Results 1 – 14 of 14) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | StdLibTests.cpp | 105 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 D | ProjectAwareIndexTests.cpp | 50 WithContextValue With(Config::Key, std::move(C)); in TEST() 76 WithContextValue With(Config::Key, std::move(C)); in TEST()
|
| H A D | SourceCodeTests.cpp | 55 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 D | InlayHintTests.cpp | 95 WithContextValue WithCfg(Config::Key, noHintsConfig()); in assertHints() 121 WithContextValue WithCfg(Config::Key, std::move(Cfg)); in assertDesignatorHints()
|
| H A D | TUSchedulerTests.cpp | 110 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 D | DiagnosticsTests.cpp | 474 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 D | CompileCommandsTests.cpp | 187 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST()
|
| H A D | HoverTests.cpp | 1059 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 D | ClangdTests.cpp | 319 WithContextValue Entrypoint(Secret, 42); in TEST()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/support/ |
| H A D | Context.h | 202 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 D | Trace.cpp | 290 llvm::Optional<WithContextValue> WithLatency; in makeSpanContext()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/server/ |
| H A D | Server.cpp | 134 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 D | AddUsingTests.cpp | 23 WithContextValue WithConfig(Config::Key, std::move(Cfg)); in TEST_F()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ClangdLSPServer.cpp | 489 llvm::Optional<WithContextValue> WithOffsetEncoding; in onInitialize()
|