clang-tools 22.0.0git
|
WithContext replaces Context::current() with a provided scope. More...
#include <Context.h>
Public Member Functions | |
WithContext (Context C) | |
~WithContext () | |
WithContext (const WithContext &)=delete | |
WithContext & | operator= (const WithContext &)=delete |
WithContext (WithContext &&)=delete | |
WithContext & | operator= (WithContext &&)=delete |
WithContext replaces Context::current() with a provided scope.
When the WithContext is destroyed, the original scope is restored. For extending the current context with new value, prefer WithContextValue.
|
inline |
Definition at line 187 of file Context.h.
Referenced by operator=(), operator=(), WithContext(), and WithContext().
|
inline |
Definition at line 188 of file Context.h.
References clang::clangd::Context::swapCurrent().
|
delete |
References WithContext().
|
delete |
References WithContext().
|
delete |
References WithContext().
|
delete |
References WithContext().