Changeset 83b52f1 for src/Tuples/Tuples.h
- Timestamp:
- Jul 24, 2019, 10:40:28 AM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 77d2432, 96ac72c
- Parents:
- 6130304 (diff), 8fc15cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Tuples/Tuples.h
r6130304 r83b52f1 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.