Changes in src/Tuples/Tuples.h [bc92bee:fd642d2]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/Tuples.h
rbc92bee rfd642d2 52 52 /// returns a TypeInstType if `type` is a ttype, nullptr otherwise 53 53 TypeInstType * isTtype( Type * type ); 54 const TypeInstType * isTtype( const Type * type ); 54 55 const ast::TypeInstType * isTtype( const ast::Type * type ); 55 56 56 57 /// returns true if the expression may contain side-effects. 57 bool maybeImpure( Expression * expr );58 bool maybeImpure( const Expression * expr ); 58 59 bool maybeImpure( const ast::Expr * expr ); 59 60 60 61 /// Returns true if the expression may contain side-effect, 61 62 /// ignoring the presence of unique expressions. 62 bool maybeImpureIgnoreUnique( Expression * expr );63 bool maybeImpureIgnoreUnique( const Expression * expr ); 63 64 bool maybeImpureIgnoreUnique( const ast::Expr * expr ); 64 65 } // namespace Tuples
Note: See TracChangeset
for help on using the changeset viewer.