Changeset aac99da for src/SynTree
- Timestamp:
- Feb 11, 2019, 8:30:38 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 0e66857
- Parents:
- d9f0ed4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.cc
rd9f0ed4 raac99da 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 : Fri Spt 28 14:49:00 201813 // Update Count : 3 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:18:01 2019 13 // Update Count : 31 14 14 // 15 15 … … 32 32 33 33 Constant Constant::from_bool( bool b ) { 34 return Constant( new BasicType( Type::Qualifiers(), BasicType:: Bool ), b ? "1" : "0" , (unsigned long long int)b );34 return Constant( new BasicType( Type::Qualifiers(), BasicType::_Bool ), b ? "1" : "0" , (unsigned long long int)b ); 35 35 } 36 36
Note: See TracChangeset
for help on using the changeset viewer.