Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/Tuples.h

    rbc92bee rfd642d2  
    5252        /// returns a TypeInstType if `type` is a ttype, nullptr otherwise
    5353        TypeInstType * isTtype( Type * type );
     54        const TypeInstType * isTtype( const Type * type );
    5455        const ast::TypeInstType * isTtype( const ast::Type * type );
    5556
    5657        /// returns true if the expression may contain side-effects.
    57         bool maybeImpure( Expression * expr );
     58        bool maybeImpure( const Expression * expr );
    5859        bool maybeImpure( const ast::Expr * expr );
    5960
    6061        /// Returns true if the expression may contain side-effect,
    6162        /// ignoring the presence of unique expressions.
    62         bool maybeImpureIgnoreUnique( Expression * expr );
     63        bool maybeImpureIgnoreUnique( const Expression * expr );
    6364        bool maybeImpureIgnoreUnique( const ast::Expr * expr );
    6465} // namespace Tuples
Note: See TracChangeset for help on using the changeset viewer.