Ignore:
Timestamp:
Dec 21, 2016, 2:54:31 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e33f321
Parents:
6d4d1a6
Message:

name mangling for ttype, fix SynTree? operator<< to work with nullptr, add isTtype check, ttype variables are automatically "sized"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Tuples/TupleExpansion.cc

    r6d4d1a6 r8bf784a  
    318318        }
    319319
     320        TypeInstType * isTtype( Type * type ) {
     321                if ( TypeInstType * inst = dynamic_cast< TypeInstType * >( type ) ) {
     322                        if ( inst->get_baseType()->get_kind() == TypeDecl::Ttype ) {
     323                                return inst;
     324                        }
     325                }
     326                return nullptr;
     327        }
     328
    320329        namespace {
    321330                /// determines if impurity (read: side-effects) may exist in a piece of code. Currently gives a very crude approximation, wherein any function call expression means the code may be impure
Note: See TracChangeset for help on using the changeset viewer.