Changeset 1ba88a0 for src/Common


Ignore:
Timestamp:
Sep 4, 2016, 3:25:32 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, 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:
b16898e
Parents:
85517ddb
Message:

implement implicit ctor/dtor deletion, track managed types when inserting ConstructorInit? nodes, remove fallbackInit case, update tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    r85517ddb r1ba88a0  
    261261
    262262template< typename T >
    263 struct ReverseIter {
     263struct reverseIterate_t {
    264264        T& ref;
    265265
    266         ReverseIter( T & ref ) : ref(ref) {}
     266        reverseIterate_t( T & ref ) : ref(ref) {}
    267267
    268268        typedef typename T::reverse_iterator iterator;
     
    272272
    273273template< typename T >
    274 ReverseIter< T > ReverseIterate( T & ref ) {
    275         return ReverseIter< T >( ref );
     274reverseIterate_t< T > reverseIterate( T & ref ) {
     275        return reverseIterate_t< T >( ref );
    276276}
    277277
Note: See TracChangeset for help on using the changeset viewer.