Changeset 62c6cfa for src/AST


Ignore:
Timestamp:
Sep 23, 2023, 10:50:18 PM (2 years ago)
Author:
JiadaL <j82liang@…>
Branches:
master
Children:
c7616dd
Parents:
deda7e6
Message:

Revert "Fix designator value in enumerated array and implemented enumerated array with inlined enume declaration"

This reverts commit c1e66d966aadf6846330871033458d4a398bd576.

Location:
src/AST
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Pass.impl.hpp

    rdeda7e6 r62c6cfa  
    18601860                maybe_accept( node, &ArrayType::dimension );
    18611861                maybe_accept( node, &ArrayType::base );
    1862                 maybe_accept( node, &ArrayType::declaredType );
    18631862        }
    18641863
  • src/AST/Type.hpp

    rdeda7e6 r62c6cfa  
    216216        DimensionFlag isStatic;
    217217
    218         ptr<Decl> declaredType;
    219 
    220218        ArrayType( const Type * b, const Expr * d, LengthFlag vl, DimensionFlag s,
    221219                CV::Qualifiers q = {} ) : Type(q), base(b), dimension(d), isVarLen(vl), isStatic(s) {}
Note: See TracChangeset for help on using the changeset viewer.