Changeset 56f519b for src/Validate


Ignore:
Timestamp:
Dec 1, 2021, 11:48:34 AM (2 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
Children:
1894e03
Parents:
f27331c
Message:

Clean-up of the last pass. Added a test for the constructor mutex argument test.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Validate/CompoundLiteral.cpp

    rf27331c r56f519b  
    2727
    2828struct CompoundLiteral final :
    29                 public ast::WithDeclsToAdd<>,
    30                 public ast::WithVisitorRef<CompoundLiteral> {
     29                public ast::WithDeclsToAdd<> {
    3130        ast::Storage::Classes storageClasses;
    3231
     
    4443
    4544        // Transform: [storageClasses] ... (struct S){...} ...
    46         // Into:      [storageClasses] struct S _compLit = {...}; / ... temp ...
     45        // Into:      [storageClasses] struct S _compLit = {...};
     46        //                             ... _compLit ...
    4747        ast::ObjectDecl * temp = new ast::ObjectDecl(
    4848                expr->location,
Note: See TracChangeset for help on using the changeset viewer.