Changeset 4e08a54 for src/InitTweak
- Timestamp:
- Apr 19, 2024, 12:01:34 PM (2 years ago)
- Branches:
- master, stuck-waitfor-destruct
- Children:
- b9b6efb
- Parents:
- da87eaf (diff), 02c80cdc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/InitTweak/FixInit.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cpp
rda87eaf r4e08a54 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.