Changeset 74807be


Ignore:
Timestamp:
Aug 15, 2020, 12:02:02 AM (4 years ago)
Author:
Fangren Yu <f37yu@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
4fe6224
Parents:
f8d05ee
Message:

please do not create a node and throw it away

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/Explode.cc

    rf8d05ee r74807be  
    161161                        castAdded = false;
    162162                        const ast::Type * newType = getReferenceBase( newNode->result );
    163                         return new ast::CastExpr{ newNode->location, node, newType };
     163                        return new ast::CastExpr{ newNode->location, newNode, newType };
    164164                }
    165165                return newNode;
Note: See TracChangeset for help on using the changeset viewer.