Changeset 56f519b for src/Validate
- Timestamp:
- Dec 1, 2021, 11:48:34 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 1894e03
- Parents:
- f27331c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/Validate/CompoundLiteral.cpp ¶
rf27331c r56f519b 27 27 28 28 struct CompoundLiteral final : 29 public ast::WithDeclsToAdd<>, 30 public ast::WithVisitorRef<CompoundLiteral> { 29 public ast::WithDeclsToAdd<> { 31 30 ast::Storage::Classes storageClasses; 32 31 … … 44 43 45 44 // Transform: [storageClasses] ... (struct S){...} ... 46 // Into: [storageClasses] struct S _compLit = {...}; / ... temp ... 45 // Into: [storageClasses] struct S _compLit = {...}; 46 // ... _compLit ... 47 47 ast::ObjectDecl * temp = new ast::ObjectDecl( 48 48 expr->location,
Note: See TracChangeset
for help on using the changeset viewer.