GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
pt-loop.cc
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1996-2018 John W. Eaton
4 
5 This file is part of Octave.
6 
7 Octave is free software: you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11 
12 Octave is distributed in the hope that it will be useful, but
13 WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with Octave; see the file COPYING. If not, see
19 <https://www.gnu.org/licenses/>.
20 
21 */
22 
23 #if defined (HAVE_CONFIG_H)
24 # include "config.h"
25 #endif
26 
27 #include "pt-arg-list.h"
28 #include "pt-loop.h"
29 #include "pt-stmt.h"
30 
31 namespace octave
32 {
33  // While.
34 
36  {
37  delete m_expr;
38  delete m_list;
39  delete m_lead_comm;
40  delete m_trail_comm;
41 #if defined (HAVE_LLVM)
42  delete m_compiled;
43 #endif
44  }
45 
46  // For.
47 
49  {
50  delete m_lhs;
51  delete m_expr;
52  delete m_maxproc;
53  delete m_list;
54  delete m_lead_comm;
55  delete m_trail_comm;
56 #if defined (HAVE_LLVM)
57  delete m_compiled;
58 #endif
59  }
60 
62  {
63  delete m_lhs;
64  delete m_expr;
65  delete m_list;
66  delete m_lead_comm;
67  delete m_trail_comm;
68  }
69 }
tree_expression * m_expr
Definition: pt-loop.h:244
tree_expression * m_maxproc
Definition: pt-loop.h:248
comment_list * m_trail_comm
Definition: pt-loop.h:257
tree_statement_list * m_list
Definition: pt-loop.h:251
tree_statement_list * m_list
Definition: pt-loop.h:111
comment_list * m_lead_comm
Definition: pt-loop.h:114
tree_expression * m_expr
Definition: pt-loop.h:108
comment_list * m_lead_comm
Definition: pt-loop.h:254
tree_argument_list * m_lhs
Definition: pt-loop.h:309
tree_statement_list * m_list
Definition: pt-loop.h:315
tree_expression * m_expr
Definition: pt-loop.h:312
comment_list * m_trail_comm
Definition: pt-loop.h:117
tree_expression * m_lhs
Definition: pt-loop.h:241