Home
last modified time | relevance | path

Searched refs:Nonce (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTUSchedulerTests.cpp493 int Nonce = 0; in TEST_F() local
502 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
506 [File, Nonce, Version(Inputs.Version), &Mut, &TotalUpdates, in TEST_F()
508 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F()
524 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
527 [File, Inputs, Nonce, &Mut, in TEST_F()
529 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F()
544 WithContextValue WithNonce(NonceKey, ++Nonce); in TEST_F()
547 [File, Inputs, Nonce, &Mut, in TEST_F()
549 EXPECT_THAT(Context::current().get(NonceKey), Pointee(Nonce)); in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DPassManagerInternal.h156 template <typename T> struct Nonce { using Type = EnabledType; }; argument
158 static typename Nonce<decltype(std::declval<T>().invalidate(