Changeset aac99da
- 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
- Location:
- src
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Concurrency/Waitfor.cc
rd9f0ed4 raac99da 11 11 // Last Modified By : 12 12 // Last Modified On : 13 // Update Count : 513 // Update Count : 6 14 14 // 15 15 … … 329 329 new BasicType( 330 330 noQualifiers, 331 BasicType:: Bool331 BasicType::_Bool 332 332 ), 333 333 new SingleInit( new ConstantExpr( Constant::from_ulong( 0 ) ) ) -
src/ControlStruct/ExceptTranslate.cc
rd9f0ed4 raac99da 9 9 // Author : Andrew Beach 10 10 // Created On : Wed Jun 14 16:49:00 2017 11 // Last Modified By : Andrew Beach12 // Last Modified On : Thr Aug 17 17:19:00 201713 // Update Count : 911 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:33:31 2019 13 // Update Count : 10 14 14 // 15 15 … … 165 165 LinkageSpec::Cforall, 166 166 /*bitfieldWidth*/ NULL, 167 new BasicType( noQualifiers, BasicType:: Bool ),167 new BasicType( noQualifiers, BasicType::_Bool ), 168 168 /*init*/ NULL, 169 169 std::list<Attribute *>{ new Attribute( "unused" ) } -
src/InitTweak/FixInit.cc
rd9f0ed4 raac99da 10 10 // Created On : Wed Jan 13 16:29:30 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 21 17:35:05 201713 // Update Count : 7 412 // Last Modified On : Fri Feb 8 09:35:34 2019 13 // Update Count : 75 14 14 // 15 15 #include "FixInit.h" … … 762 762 763 763 // static bool __objName_uninitialized = true 764 BasicType * boolType = new BasicType( Type::Qualifiers(), BasicType:: Bool );764 BasicType * boolType = new BasicType( Type::Qualifiers(), BasicType::_Bool ); 765 765 SingleInit * boolInitExpr = new SingleInit( new ConstantExpr( Constant::from_int( 1 ) ) ); 766 766 ObjectDecl * isUninitializedVar = new ObjectDecl( objDecl->get_mangleName() + "_uninitialized", Type::StorageClasses( Type::Static ), LinkageSpec::Cforall, 0, boolType, boolInitExpr ); -
src/ResolvExpr/Resolver.cc
rd9f0ed4 raac99da 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 12:17:01 2015 11 // Last Modified By : Aaron B. Moss12 // Last Modified On : Fri Oct 05 09:43:00 201813 // Update Count : 21 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:31:26 2019 13 // Update Count : 215 14 14 // 15 15 … … 562 562 void Resolver::previsit( CatchStmt *catchStmt ) { 563 563 if ( catchStmt->cond ) { 564 findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType:: Bool ), indexer );564 findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType::_Bool ), indexer ); 565 565 } 566 566 } -
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 -
src/Tuples/TupleExpansion.cc
rd9f0ed4 raac99da 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 21 17:35:04 201713 // Update Count : 1912 // Last Modified On : Fri Feb 8 09:31:55 2019 13 // Update Count : 20 14 14 // 15 15 … … 168 168 commaExpr->set_arg1( nullptr ); 169 169 } 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 ), 171 171 new SingleInit( new ConstantExpr( Constant::from_int( 0 ) ) ) ); 172 172 declsToAddBefore.push_back( finished );
Note: See TracChangeset
for help on using the changeset viewer.