Changeset 66f8528 for src/prelude
- Timestamp:
- Dec 15, 2016, 5:16:42 PM (8 years ago)
- 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:
- 43385ca, f7ff3fb
- Parents:
- 5802a4f (diff), 596f987b (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. - Location:
- src/prelude
- Files:
-
- 2 added
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
src/prelude/prelude.cf
r5802a4f r66f8528 22 22 // ------------------------------------------------------------ 23 23 24 const int 0, 1; 25 26 forall ( dtype DT ) const DT * const 0; 27 forall ( ftype FT ) FT * const 0; 24 //We have none 28 25 29 26 // ------------------------------------------------------------ … … 249 246 // ------------------------------------------------------------ 250 247 251 signed int ?==?( _Bool, _Bool ), ?!=?( _Bool, _Bool );252 signed int ?==?( signed int, signed int ), ?!=?( signed int, signed int );253 signed int ?==?( unsigned int, unsigned int ), ?!=?( unsigned int, unsigned int );254 signed int ?==?( signed long int, signed long int ), ?!=?( signed long int, signed long int );255 signed int ?==?( unsigned long int, unsigned long int ), ?!=?( unsigned long int, unsigned long int );248 signed int ?==?( _Bool, _Bool ), ?!=?( _Bool, _Bool ); 249 signed int ?==?( signed int, signed int ), ?!=?( signed int, signed int ); 250 signed int ?==?( unsigned int, unsigned int ), ?!=?( unsigned int, unsigned int ); 251 signed int ?==?( signed long int, signed long int ), ?!=?( signed long int, signed long int ); 252 signed int ?==?( unsigned long int, unsigned long int ), ?!=?( unsigned long int, unsigned long int ); 256 253 signed int ?==?( signed long long int, long long int signed), ?!=?( signed long long int, signed long long int ); 257 254 signed int ?==?( unsigned long long int, unsigned long long int ), ?!=?( unsigned long long int, unsigned long long int ); 258 signed int ?==?( float, float ), ?!=?( float, float );259 signed int ?==?( double, double ), ?!=?( double, double );260 signed int ?==?( long double, long double ), ?!=?( long double, long double );261 signed int ?==?( float _Complex, float _Complex ), ?!=?( float _Complex, float _Complex );262 signed int ?==?( double _Complex, double _Complex ), ?!=?( double _Complex, double _Complex );255 signed int ?==?( float, float ), ?!=?( float, float ); 256 signed int ?==?( double, double ), ?!=?( double, double ); 257 signed int ?==?( long double, long double ), ?!=?( long double, long double ); 258 signed int ?==?( float _Complex, float _Complex ), ?!=?( float _Complex, float _Complex ); 259 signed int ?==?( double _Complex, double _Complex ), ?!=?( double _Complex, double _Complex ); 263 260 signed int ?==?( long double _Complex, long double _Complex ), ?!=?( long double _Complex, long double _Complex ); 261 signed int ?==?( zero_t, zero_t ), ?!=?( zero_t, zero_t ); 262 signed int ?==?( one_t, one_t ), ?!=?( one_t, one_t ); 264 263 265 264 forall( dtype DT ) signed int ?==?( DT *, DT * ); … … 274 273 forall( ftype FT ) signed int ?!=?( FT *, FT * ); 275 274 276 forall( dtype DT ) signed int ?==?( const volatile DT *, const volatile void * );277 forall( dtype DT ) signed int ?==?( const volatile void *, const volatile DT * );278 forall( dtype DT ) signed int ?!=?( const volatile DT *, const volatile void * );279 forall( dtype DT ) signed int ?!=?( const volatile void *, const volatile DT * );280 281 forall( dtype DT ) signed int ?==?( const volatile DT *, forall( dtype DT2 )const DT2 * );282 forall( dtype DT ) signed int ?==?( forall( dtype DT2 )const DT2 *, const volatile DT * );283 forall( ftype FT ) signed int ?==?( FT *, forall( ftype FT2 )FT2 * );284 forall( ftype FT ) signed int ?==?( forall( ftype FT2 )FT2 *, FT * );285 forall( dtype DT ) signed int ?!=?( const volatile DT *, forall( dtype DT2 )const DT2 * );286 forall( dtype DT ) signed int ?!=?( forall( dtype DT2 )const DT2 *, const volatile DT * );287 forall( ftype FT ) signed int ?!=?( FT *, forall( ftype FT2 )FT2 * );288 forall( ftype FT ) signed int ?!=?( forall( ftype FT2 )FT2 *, FT * );275 // forall( dtype DT ) signed int ?==?( const volatile DT *, const volatile void * ); 276 // forall( dtype DT ) signed int ?==?( const volatile void *, const volatile DT * ); 277 // forall( dtype DT ) signed int ?!=?( const volatile DT *, const volatile void * ); 278 // forall( dtype DT ) signed int ?!=?( const volatile void *, const volatile DT * ); 279 280 // forall( dtype DT ) signed int ?==?( const volatile DT *, forall( dtype DT2 )const DT2 * ); 281 // forall( dtype DT ) signed int ?==?( forall( dtype DT2 )const DT2 *, const volatile DT * ); 282 // forall( ftype FT ) signed int ?==?( FT *, forall( ftype FT2 )FT2 * ); 283 // forall( ftype FT ) signed int ?==?( forall( ftype FT2 )FT2 *, FT * ); 284 // forall( dtype DT ) signed int ?!=?( const volatile DT *, forall( dtype DT2 )const DT2 * ); 285 // forall( dtype DT ) signed int ?!=?( forall( dtype DT2 )const DT2 *, const volatile DT * ); 286 // forall( ftype FT ) signed int ?!=?( FT *, forall( ftype FT2 )FT2 * ); 287 // forall( ftype FT ) signed int ?!=?( forall( ftype FT2 )FT2 *, FT * ); 289 288 290 289 // ------------------------------------------------------------ … … 458 457 signed long long int ?=?( signed long long int *, signed long long int ), ?=?( volatile signed long long int *, signed long long int ); 459 458 unsigned long long int ?=?( unsigned long long int *, unsigned long long int ), ?=?( volatile unsigned long long int *, unsigned long long int ); 459 zero_t ?=?( zero_t *, zero_t ); 460 one_t ?=?( one_t *, one_t ); 461 460 462 461 463 _Bool ?*=?( _Bool *, _Bool ), ?*=?( volatile _Bool *, _Bool ); … … 654 656 void ?{}( double _Complex * ); 655 657 void ?{}( long double _Complex * ); 658 void ?{}( zero_t * ); 659 void ?{}( one_t * ); 656 660 657 661 // copy ctor … … 674 678 void ?{}( double _Complex *, double _Complex); 675 679 void ?{}( long double _Complex *, long double _Complex); 680 void ?{}( zero_t *, zero_t ); 681 void ?{}( one_t *, one_t ); 676 682 677 683 // dtor … … 694 700 void ^?{}( double _Complex * ); 695 701 void ^?{}( long double _Complex * ); 702 void ^?{}( zero_t * ); 703 void ^?{}( one_t * ); 696 704 697 705 // // default ctor
Note: See TracChangeset
for help on using the changeset viewer.