Changeset e15853c for src/SynTree/Constant.cc
- Timestamp:
- Feb 14, 2019, 10:26:59 AM (5 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:
- 70a3e16, 85d44c6
- Parents:
- e782290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Constant.cc
re782290 re15853c 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:18:01201913 // Update Count : 3 112 // Last Modified On : Wed Feb 13 18:11:22 2019 13 // Update Count : 32 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.