Changeset e15853c for src/InitTweak
- Timestamp:
- Feb 14, 2019, 10:26:59 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:
- 70a3e16, 85d44c6
- Parents:
- e782290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
re782290 re15853c 10 10 // Created On : Wed Jan 13 16:29:30 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:35:34201913 // Update Count : 7 512 // Last Modified On : Wed Feb 13 18:15:56 2019 13 // Update Count : 76 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 );
Note: See TracChangeset
for help on using the changeset viewer.