Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Constant.cc

    rcb4c607 r9d7b3ea  
    3030Constant::~Constant() { delete type; }
    3131
    32 Constant Constant::from_int( int i ) {
     32Constant Constant::from( int i ) {
    3333        return Constant( new BasicType( Type::Qualifiers(), BasicType::SignedInt ), std::to_string( i ) );
    3434}
    3535
    36 Constant Constant::from_ulong( unsigned long i ) {
     36Constant Constant::from( unsigned long i ) {
    3737        return Constant( new BasicType( Type::Qualifiers(), BasicType::LongUnsignedInt ), std::to_string( i ) );
    3838}
    3939
    40 Constant Constant::from_double( double d ) {
     40Constant Constant::from( double d ) {
    4141        return Constant( new BasicType( Type::Qualifiers(), BasicType::Double ), std::to_string( d ) );
    4242}
Note: See TracChangeset for help on using the changeset viewer.