Changeset ef05cf0 for src/InitTweak/InitTweak.cpp
- Timestamp:
- May 1, 2025, 11:29:29 AM (5 months ago)
- Branches:
- master
- Children:
- 57c7e6c4
- Parents:
- b1f225e5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cpp
rb1f225e5 ref05cf0 68 68 }; 69 69 70 struct InitDepthChecker {70 struct InitDepthChecker : public ast::WithShortCircuiting { 71 71 bool result = true; 72 72 const ast::Type * type; … … 86 86 void postvisit( ast::ListInit const * ) { 87 87 curDepth--; 88 } 89 void previsit( ast::SingleInit const * ) { 90 // We don't want to visit the value field. 91 visit_children = false; 88 92 } 89 93 };
Note:
See TracChangeset
for help on using the changeset viewer.