Searched refs:swapCurrent (Results 1 – 2 of 2) sorted by relevance
77 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()
29 Context Context::swapCurrent(Context Replacement) { in swapCurrent() function in clang::clangd::Context