An utility class for setting temporary scopes. More...
#include <ir.h>
Public Member Functions | |
WithCurrentScope (Graph &g, ScopePtr scope) | |
An utility class for setting temporary scopes.
When an object of this class is created, it stores the current scope, sets the new one, and restores the original scope when the object is destroyed.