Changeset 7a780ad for src/InitTweak
- Timestamp:
- Apr 18, 2024, 5:19:17 PM (11 months ago)
- Branches:
- master
- Children:
- 38093ae
- Parents:
- 60c5b6d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cpp
r60c5b6d r7a780ad 847 847 848 848 // static bool __objName_uninitialized = true 849 auto boolType = new ast::BasicType( ast::Basic Type::Kind::Bool );849 auto boolType = new ast::BasicType( ast::BasicKind::Bool ); 850 850 auto boolInitExpr = new ast::SingleInit(loc, ast::ConstantExpr::from_int(loc, 1 ) ); 851 851 auto isUninitializedVar = new ast::ObjectDecl(loc, objDecl->mangleName + "_uninitialized", boolType, boolInitExpr, ast::Storage::Static, ast::Linkage::Cforall);
Note: See TracChangeset
for help on using the changeset viewer.