Changeset aac99da for src/SynTree


Ignore:
Timestamp:
Feb 11, 2019, 8:30:38 AM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

change BasicType::Bool to BasicType::_Bool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SynTree/Constant.cc

    rd9f0ed4 raac99da  
    99// Author           : Richard C. Bilson
    1010// Created On       : Mon May 18 07:44:20 2015
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Fri Spt 28 14:49:00 2018
    13 // Update Count     : 30
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Feb  8 09:18:01 2019
     13// Update Count     : 31
    1414//
    1515
     
    3232
    3333Constant 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 );
    3535}
    3636
Note: See TracChangeset for help on using the changeset viewer.