summaryrefslogtreecommitdiff
path: root/src/analysis/statement.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-10 16:49:44 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-10 16:54:47 +0300
commit77fd4910981d22cb1364c134454bf640e885c81b (patch)
tree454d92b888e6a6d3c9b033b1647cf3a7f24c80f6 /src/analysis/statement.h
parent5e6638be7db63eb932048b310bd1bd0d0ba96366 (diff)
downloadparanucker-77fd4910981d22cb1364c134454bf640e885c81b.tar.gz
paranucker-77fd4910981d22cb1364c134454bf640e885c81b.tar.bz2
paranucker-77fd4910981d22cb1364c134454bf640e885c81b.tar.xz
paranucker-77fd4910981d22cb1364c134454bf640e885c81b.zip
Add basic analysis for IF_STMT.
Diffstat (limited to 'src/analysis/statement.h')
-rw-r--r--src/analysis/statement.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/analysis/statement.h b/src/analysis/statement.h
new file mode 100644
index 0000000..5672e7f
--- /dev/null
+++ b/src/analysis/statement.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2015 Andrei Karas
+ *
+ * This file is part of AstDumper.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ANALYSIS_STATEMENT_H
+#define ANALYSIS_STATEMENT_H
+
+#include "includes.h"
+
+struct IfStmtNode;
+struct WalkItem;
+
+namespace Analysis
+{
+ WalkItem analyseIfStmt(IfStmtNode *node, WalkItem wi);
+}
+
+#endif // ANALYSIS_STATEMENT_H