| 10 | |
| 11 | namespace ed { |
| 12 | ExpressionCompiler::ExpressionCompiler() |
| 13 | { |
| 14 | m_error = false; |
| 15 | m_module = nullptr; |
| 16 | |
| 17 | m_allocator = new spvgentwo::HeapAllocator(); |
| 18 | m_grammar = new spvgentwo::Grammar(m_allocator); |
| 19 | m_module = new spvgentwo::Module(m_allocator); |
| 20 | } |
| 21 | ExpressionCompiler::~ExpressionCompiler() |
| 22 | { |
| 23 | delete m_module; |
nothing calls this directly
no outgoing calls
no test coverage detected