Changeset 44547b0 for src/AST


Ignore:
Timestamp:
Nov 7, 2022, 1:00:22 PM (2 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
4da152a
Parents:
a805100
Message:

Removed the ObjectDecl? fields now represented on InlineValueDecl?. Removed unused new AST content from Validate (should recompile less often.

Location:
src/AST
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/AST/Convert.cpp

    ra805100 r44547b0  
    16211621                        { old->get_funcSpec().val }
    16221622                );
    1623                 decl->enumInLine = old->enumInLine;
    16241623                cache.emplace(old, decl);
    16251624                assert(cache.find( old ) != cache.end());
  • src/AST/Decl.hpp

    ra805100 r44547b0  
    105105        ptr<Init> init;
    106106        ptr<Expr> bitfieldWidth;
    107         bool enumInLine = false; // enum inline is not a real object declaration.
    108         // It is a place holder for a set of enum value (ObjectDecl)
    109         bool importValue = false; // if the value copied from somewhere else
    110107
    111108        ObjectDecl( const CodeLocation & loc, const std::string & name, const Type * type,
Note: See TracChangeset for help on using the changeset viewer.