diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-04 00:44:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-04 00:44:42 +0300 |
commit | 6e0b30c7d2febba72754838b4811dd31a90284f9 (patch) | |
tree | aa31d85836b12745c8a2b9e54c736641cfd594f4 /src/analysis/cst.h | |
parent | 4c0f6bc74b1cf798d28214544fb4b6517f741b8f (diff) | |
download | paranucker-6e0b30c7d2febba72754838b4811dd31a90284f9.tar.gz paranucker-6e0b30c7d2febba72754838b4811dd31a90284f9.tar.bz2 paranucker-6e0b30c7d2febba72754838b4811dd31a90284f9.tar.xz paranucker-6e0b30c7d2febba72754838b4811dd31a90284f9.zip |
Add numeric value in node calculation.
Use it in NE_EXPR and EQ_EXPR.
Diffstat (limited to 'src/analysis/cst.h')
-rw-r--r-- | src/analysis/cst.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/analysis/cst.h b/src/analysis/cst.h new file mode 100644 index 0000000..064c9b4 --- /dev/null +++ b/src/analysis/cst.h @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2015 Andrei Karas + * + * This file is part of Paranoid null checker. + * + * 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_CST_H +#define ANALYSIS_CST_H + +#include "includes.h" + +struct IntegerCstNode; +struct WalkItem; + +namespace Analysis +{ + void analyseIntegerCst(IntegerCstNode *node, const WalkItem &wi, WalkItem &wo); +} + +#endif // ANALYSIS_CST_H |