#pragma once #include "data.h" #include "minicc.h" #include #include #include namespace FlowGraph { class Storage; ///< Forward declaration // Provide a context for local temporaries name generation class LocalScope { public: LocalScope() = default; void push_back(std::shared_ptr data); void append(const LocalScope& other); index_t indexOfStorage(const Storage& storage) const; private: std::vector> m_variables; }; }