Home
last modified time | relevance | path

Searched refs:NewCtx (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/support/
H A DContextTests.cpp32 Context NewCtx = std::move(Ctx); in TEST() local
33 EXPECT_EQ(**NewCtx.get(Param), 10); in TEST()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DThreadSafety.cpp534 return NewCtx; in addDefinition()
542 return NewCtx; in addReference()
551 NewCtx = ContextFactory.add(NewCtx, D, newID); in updateDefinition()
553 return NewCtx; in updateDefinition()
561 Context NewCtx = Ctx; in clearDefinition() local
563 NewCtx = ContextFactory.remove(NewCtx, D); in clearDefinition()
564 NewCtx = ContextFactory.add(NewCtx, D, 0); in clearDefinition()
566 return NewCtx; in clearDefinition()
571 Context NewCtx = Ctx; in removeDefinition() local
573 NewCtx = ContextFactory.remove(NewCtx, D); in removeDefinition()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/Orc/
H A DThreadSafeModule.h53 ThreadSafeContext(std::unique_ptr<LLVMContext> NewCtx) in ThreadSafeContext() argument
54 : S(std::make_shared<State>(std::move(NewCtx))) { in ThreadSafeContext()