Changes in src/SynTree/Constant.cc [2c37f34:d56e5bc]
- File:
-
- 1 edited
-
src/SynTree/Constant.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.cc
r2c37f34 rd56e5bc 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Thr Jun 22 10:11:00201713 // Update Count : 2 811 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 21 16:44:48 2017 13 // Update Count : 27 14 14 // 15 15 … … 29 29 30 30 Constant::~Constant() { delete type; } 31 32 Constant Constant::from_bool( bool b ) {33 return Constant( new BasicType( Type::Qualifiers(), BasicType::Bool ), b ? "1" : "0" , (unsigned long long int)b );34 }35 31 36 32 Constant Constant::from_int( int i ) {
Note:
See TracChangeset
for help on using the changeset viewer.