\cond DOXYGEN_IGNORE
| 48 | |
| 49 | /// \cond DOXYGEN_IGNORE |
| 50 | Parser::Data::~Data () |
| 51 | { |
| 52 | m_expression.clear(); |
| 53 | if (m_parser) { amrex_parser_delete(m_parser); } |
| 54 | if (m_host_executor) { |
| 55 | if (m_use_arena) { |
| 56 | The_Pinned_Arena()->free(m_host_executor); |
| 57 | } else { |
| 58 | std::free(m_host_executor); |
| 59 | } |
| 60 | } |
| 61 | #ifdef AMREX_USE_GPU |
| 62 | if (m_device_executor) { The_Arena()->free(m_device_executor); } |
| 63 | #endif |
| 64 | } |
| 65 | /// \endcond |
| 66 | |
| 67 | Parser::operator bool () const |
nothing calls this directly
no test coverage detected