Ignore:
Timestamp:
Jul 19, 2019, 3:29:37 PM (3 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
884f140
Parents:
85dac33
Message:

getFunction has const version and maybeImpure[IgnoreUnique?] have const input.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/Tuples.h

    r85dac33 r335d81f  
    5555
    5656        /// returns true if the expression may contain side-effects.
    57         bool maybeImpure( Expression * expr );
     57        bool maybeImpure( const Expression * expr );
    5858        bool maybeImpure( const ast::Expr * expr );
    5959
    6060        /// Returns true if the expression may contain side-effect,
    6161        /// ignoring the presence of unique expressions.
    62         bool maybeImpureIgnoreUnique( Expression * expr );
     62        bool maybeImpureIgnoreUnique( const Expression * expr );
    6363        bool maybeImpureIgnoreUnique( const ast::Expr * expr );
    6464} // namespace Tuples
Note: See TracChangeset for help on using the changeset viewer.