Changeset bf30ab3 for src


Ignore:
Timestamp:
Jul 17, 2017, 1:51:24 PM (7 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:
a493682
Parents:
9a1e509
Message:

Change remaining old-style null pointers to zero_t in prelude

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/prelude/prelude.cf

    r9a1e509 rbf30ab3  
    447447const volatile void *   ?=?( const volatile void * volatile &, const volatile void * );
    448448
    449 //forall( dtype DT ) DT *                       ?=?(                DT *          &, forall( dtype DT2 ) const DT2 * );
    450 //forall( dtype DT ) DT *                       ?=?(                DT * volatile &, forall( dtype DT2 ) const DT2 * );
    451 forall( dtype DT ) const DT *           ?=?( const          DT *          &, forall( dtype DT2 ) const DT2 * );
    452 forall( dtype DT ) const DT *           ?=?( const          DT * volatile &, forall( dtype DT2 ) const DT2 * );
    453 //forall( dtype DT ) volatile DT *      ?=?( volatile       DT *          &, forall( dtype DT2 ) const DT2 * );
    454 //forall( dtype DT ) volatile DT *      ?=?( volatile       DT * volatile &, forall( dtype DT2 ) const DT2 * );
    455 forall( dtype DT ) const volatile DT *  ?=?( const volatile DT *          &, forall( dtype DT2 ) const DT2 * );
    456 forall( dtype DT ) const volatile DT *  ?=?( const volatile DT * volatile &, forall( dtype DT2 ) const DT2 * );
     449//forall( dtype DT ) DT *                       ?=?(                DT *          &, zero_t );
     450//forall( dtype DT ) DT *                       ?=?(                DT * volatile &, zero_t );
     451forall( dtype DT ) const DT *           ?=?( const          DT *          &, zero_t );
     452forall( dtype DT ) const DT *           ?=?( const          DT * volatile &, zero_t );
     453//forall( dtype DT ) volatile DT *      ?=?( volatile       DT *          &, zero_t );
     454//forall( dtype DT ) volatile DT *      ?=?( volatile       DT * volatile &, zero_t );
     455forall( dtype DT ) const volatile DT *  ?=?( const volatile DT *          &, zero_t );
     456forall( dtype DT ) const volatile DT *  ?=?( const volatile DT * volatile &, zero_t );
    457457
    458458forall( ftype FT ) FT *                 ?=?( FT *          &, forall( ftype FT2 ) FT2 * );
     
    799799void    ?{}( const volatile void *          &, const volatile void * );
    800800
    801 //forall( dtype DT ) void ?{}(              DT *          &, forall( dtype DT2 ) const DT2 * );
    802 //forall( dtype DT ) void ?{}(              DT * volatile &, forall( dtype DT2 ) const DT2 * );
    803 forall( dtype DT ) void ?{}( const          DT *          &, forall( dtype DT2 ) const DT2 * );
    804 //forall( dtype DT ) void ?{}( volatile     DT *          &, forall( dtype DT2 ) const DT2 * );
    805 //forall( dtype DT ) void ?{}( volatile     DT * volatile &, forall( dtype DT2 ) const DT2 * );
    806 forall( dtype DT ) void ?{}( const volatile DT *          &, forall( dtype DT2 ) const DT2 * );
     801//forall( dtype DT ) void ?{}(              DT *          &, zero_t );
     802//forall( dtype DT ) void ?{}(              DT * volatile &, zero_t );
     803forall( dtype DT ) void ?{}( const          DT *          &, zero_t );
     804//forall( dtype DT ) void ?{}( volatile     DT *          &, zero_t );
     805//forall( dtype DT ) void ?{}( volatile     DT * volatile &, zero_t );
     806forall( dtype DT ) void ?{}( const volatile DT *          &, zero_t );
    807807
    808808forall( ftype FT ) void ?{}( FT *          &, forall( ftype FT2 ) FT2 * );
Note: See TracChangeset for help on using the changeset viewer.