From 77fd4910981d22cb1364c134454bf640e885c81b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Jun 2015 16:49:44 +0300 Subject: Add basic analysis for IF_STMT. --- src/analysis/statement.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 src/analysis/statement.h (limited to 'src/analysis/statement.h') 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 . + */ + +#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 -- cgit v1.2.3-60-g2f50