Changeset aac99da for src


Ignore:
Timestamp:
Feb 11, 2019, 8:30:38 AM (5 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

Location:
src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • src/Concurrency/Waitfor.cc

    rd9f0ed4 raac99da  
    1111// Last Modified By :
    1212// Last Modified On :
    13 // Update Count     : 5
     13// Update Count     : 6
    1414//
    1515
     
    329329                        new BasicType(
    330330                                noQualifiers,
    331                                 BasicType::Bool
     331                                BasicType::_Bool
    332332                        ),
    333333                        new SingleInit( new ConstantExpr( Constant::from_ulong( 0 ) ) )
  • src/ControlStruct/ExceptTranslate.cc

    rd9f0ed4 raac99da  
    99// Author           : Andrew Beach
    1010// Created On       : Wed Jun 14 16:49:00 2017
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Thr Aug 17 17:19:00 2017
    13 // Update Count     : 9
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Feb  8 09:33:31 2019
     13// Update Count     : 10
    1414//
    1515
     
    165165                        LinkageSpec::Cforall,
    166166                        /*bitfieldWidth*/ NULL,
    167                         new BasicType( noQualifiers, BasicType::Bool ),
     167                        new BasicType( noQualifiers, BasicType::_Bool ),
    168168                        /*init*/ NULL,
    169169                        std::list<Attribute *>{ new Attribute( "unused" ) }
  • src/InitTweak/FixInit.cc

    rd9f0ed4 raac99da  
    1010// Created On       : Wed Jan 13 16:29:30 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun 21 17:35:05 2017
    13 // Update Count     : 74
     12// Last Modified On : Fri Feb  8 09:35:34 2019
     13// Update Count     : 75
    1414//
    1515#include "FixInit.h"
     
    762762
    763763                                                // static bool __objName_uninitialized = true
    764                                                 BasicType * boolType = new BasicType( Type::Qualifiers(), BasicType::Bool );
     764                                                BasicType * boolType = new BasicType( Type::Qualifiers(), BasicType::_Bool );
    765765                                                SingleInit * boolInitExpr = new SingleInit( new ConstantExpr( Constant::from_int( 1 ) ) );
    766766                                                ObjectDecl * isUninitializedVar = new ObjectDecl( objDecl->get_mangleName() + "_uninitialized", Type::StorageClasses( Type::Static ), LinkageSpec::Cforall, 0, boolType, boolInitExpr );
  • src/ResolvExpr/Resolver.cc

    rd9f0ed4 raac99da  
    99// Author           : Richard C. Bilson
    1010// Created On       : Sun May 17 12:17:01 2015
    11 // Last Modified By : Aaron B. Moss
    12 // Last Modified On : Fri Oct 05 09:43:00 2018
    13 // Update Count     : 214
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Feb  8 09:31:26 2019
     13// Update Count     : 215
    1414//
    1515
     
    562562        void Resolver::previsit( CatchStmt *catchStmt ) {
    563563                if ( catchStmt->cond ) {
    564                         findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType::Bool ), indexer );
     564                        findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType::_Bool ), indexer );
    565565                }
    566566        }
  • 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
  • src/Tuples/TupleExpansion.cc

    rd9f0ed4 raac99da  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Wed Jun 21 17:35:04 2017
    13 // Update Count     : 19
     12// Last Modified On : Fri Feb  8 09:31:55 2019
     13// Update Count     : 20
    1414//
    1515
     
    168168                                commaExpr->set_arg1( nullptr );
    169169                        }
    170                         ObjectDecl * finished = new ObjectDecl( toString( "_unq", id, "_finished_" ), Type::StorageClasses(), LinkageSpec::Cforall, nullptr, new BasicType( Type::Qualifiers(), BasicType::Bool ),
     170                        ObjectDecl * finished = new ObjectDecl( toString( "_unq", id, "_finished_" ), Type::StorageClasses(), LinkageSpec::Cforall, nullptr, new BasicType( Type::Qualifiers(), BasicType::_Bool ),
    171171                                                                                                        new SingleInit( new ConstantExpr( Constant::from_int( 0 ) ) ) );
    172172                        declsToAddBefore.push_back( finished );
Note: See TracChangeset for help on using the changeset viewer.