Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/support/
H A DContext.h77 static Context swapCurrent(Context Replacement);
189 WithContext(Context C) : Restore(Context::swapCurrent(std::move(C))) {} in WithContext()
190 ~WithContext() { Context::swapCurrent(std::move(Restore)); } in ~WithContext()
H A DContext.cpp29 Context Context::swapCurrent(Context Replacement) { in swapCurrent() function in clang::clangd::Context