Ignore:
Timestamp:
Jul 31, 2019, 3:23:04 PM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
ae265b55, f49b3fc
Parents:
504eb72
Message:

Startup.cfa now compiles with new ast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/AST/TypeSubstitution.cpp

    r504eb72 r2890212  
    146146                ptr<Type> newType = i->second; // force clone if needed
    147147                add_qualifiers( newType, inst->qualifiers );
    148                 // Note: need to recursively apply substitution to the new type because normalize does not 
     148                // Note: need to recursively apply substitution to the new type because normalize does not
    149149                // substitute bound vars, but bound vars must be substituted when not in freeOnly mode.
    150150                newType = newType->accept( *visitor );
     
    159159        } else {
    160160                subCount++;
    161                 delete nameExpr;
    162161                return i->second;
    163162        } // if
Note: See TracChangeset for help on using the changeset viewer.