Changeset 3f7e12cb for src/prelude
- Timestamp:
- Nov 8, 2017, 5:43:33 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:
- 954908d
- Parents:
- 78315272 (diff), e35f30a (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:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/prelude/Makefile.am
r78315272 r3f7e12cb 57 57 58 58 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 59 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpm Lbootloader.cf $@ # use src/cfa-cpp as not in lib until after install59 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpm bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 60 60 61 61 maintainer-clean-local : -
src/prelude/Makefile.in
r78315272 r3f7e12cb 526 526 527 527 bootloader.c : bootloader.cf prelude.cf extras.cf gcc-builtins.cf builtins.cf ${abs_top_srcdir}/src/driver/cfa-cpp 528 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpm Lbootloader.cf $@ # use src/cfa-cpp as not in lib until after install528 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -tpm bootloader.cf $@ # use src/cfa-cpp as not in lib until after install 529 529 530 530 maintainer-clean-local : -
src/prelude/extras.c
r78315272 r3f7e12cb 1 1 #include <stddef.h> // size_t, ptrdiff_t 2 #include <stdint.h> // intX_t, uintX_t, where X is 8, 16, 32, 64 2 3 #include <uchar.h> // char16_t, char32_t 3 4 #include <wchar.h> // wchar_t -
src/prelude/extras.regx
r78315272 r3f7e12cb 1 1 typedef.* size_t; 2 2 typedef.* ptrdiff_t; 3 typedef.* int8_t; 4 typedef.* int16_t; 5 typedef.* int32_t; 6 typedef.* int64_t; 7 typedef.* uint8_t; 8 typedef.* uint16_t; 9 typedef.* uint32_t; 10 typedef.* uint64_t; 3 11 typedef.* char16_t; 4 12 typedef.* char32_t; -
src/prelude/prelude.cf
r78315272 r3f7e12cb 7 7 // Created On : Sat Nov 29 07:23:41 2014 8 8 // Last Modified By : Peter A. Buhr 9 // Last Modified On : Wed Aug 30 07:56:07201710 // Update Count : 939 // Last Modified On : Sat Oct 28 16:33:09 2017 10 // Update Count : 102 11 11 // 12 12 … … 41 41 _Bool ?++( _Bool & ), ?++( volatile _Bool & ); 42 42 _Bool ?--( _Bool & ), ?--( volatile _Bool & ); 43 unsigned char ?++( unsigned char & ), ?++( volatile unsigned char & ); 43 signed short ?++( signed short & ), ?++( volatile signed short & ); 44 signed short ?--( signed short & ), ?--( volatile signed short & ); 45 unsigned short ?++( unsigned short & ), ?++( volatile unsigned short & ); 46 unsigned short ?--( unsigned short & ), ?--( volatile unsigned short & ); 44 47 signed int ?++( signed int & ), ?++( volatile signed int & ); 45 48 signed int ?--( signed int & ), ?--( volatile signed int & ); … … 92 95 93 96 _Bool ++?( _Bool & ), --?( _Bool & ); 97 signed short ++?( signed short & ), --?( signed short & ); 94 98 signed int ++?( signed int & ), --?( signed int & ); 95 unsigned int ++?( unsigned int & ), --?( unsigned int & ); 99 unsigned short ++?( unsigned int & ), --?( unsigned int & ); 100 unsigned int ++?( unsigned short & ), --?( unsigned short & ); 96 101 signed long int ++?( signed long int & ), --?( signed long int & ); 97 102 unsigned long int ++?( unsigned long int & ), --?( unsigned long int & ); … … 190 195 long double _Complex ?+?( long double _Complex, long double _Complex ), ?-?( long double _Complex, long double _Complex ); 191 196 192 forall( dtype T | sized(T) ) T * 193 forall( dtype T | sized(T) ) T * 197 forall( dtype T | sized(T) ) T * ?+?( T *, ptrdiff_t ); 198 forall( dtype T | sized(T) ) T * ?+?( ptrdiff_t, T * ); 194 199 forall( dtype T | sized(T) ) const T * ?+?( const T *, ptrdiff_t ); 195 200 forall( dtype T | sized(T) ) const T * ?+?( ptrdiff_t, const T * ); 196 forall( dtype T | sized(T) ) volatile T * 197 forall( dtype T | sized(T) ) volatile T * 201 forall( dtype T | sized(T) ) volatile T * ?+?( volatile T *, ptrdiff_t ); 202 forall( dtype T | sized(T) ) volatile T * ?+?( ptrdiff_t, volatile T * ); 198 203 forall( dtype T | sized(T) ) const volatile T * ?+?( const volatile T *, ptrdiff_t ); 199 204 forall( dtype T | sized(T) ) const volatile T * ?+?( ptrdiff_t, const volatile T * ); 200 forall( dtype T | sized(T) ) T * 205 forall( dtype T | sized(T) ) T * ?-?( T *, ptrdiff_t ); 201 206 forall( dtype T | sized(T) ) const T * ?-?( const T *, ptrdiff_t ); 202 forall( dtype T | sized(T) ) volatile T * 207 forall( dtype T | sized(T) ) volatile T * ?-?( volatile T *, ptrdiff_t ); 203 208 forall( dtype T | sized(T) ) const volatile T * ?-?( const volatile T *, ptrdiff_t ); 204 209 forall( dtype T | sized(T) ) ptrdiff_t ?-?( const volatile T *, const volatile T * ); … … 226 231 signed int ?<?( _Bool, _Bool ), ?<=?( _Bool, _Bool ), 227 232 ?>?( _Bool, _Bool ), ?>=?( _Bool, _Bool ); 228 signed int ?<?( char, char ), ?<=?( char, char ),229 ?>?( char, char ), ?>=?( char, char );233 signed int ?<?( char, char ), ?<=?( char, char ), 234 ?>?( char, char ), ?>=?( char, char ); 230 235 signed int ?<?( signed char, signed char ), ?<=?( signed char, signed char ), 231 236 ?>?( signed char, signed char ), ?>=?( signed char, signed char ); … … 235 240 ?>?( signed short, signed short ), ?>=?( signed short, signed short ); 236 241 signed int ?<?( unsigned short, unsigned short ), ?<=?( unsigned short, unsigned short ), 237 ?>?( unsigned short, unsigned short ), 242 ?>?( unsigned short, unsigned short ), ?>=?( unsigned short, unsigned short ); 238 243 signed int ?<?( signed int, signed int ), ?<=?( signed int, signed int ), 239 244 ?>?( signed int, signed int ), ?>=?( signed int, signed int ); … … 468 473 forall( ftype FT ) FT * ?=?( FT * volatile &, zero_t ); 469 474 470 forall( dtype T | sized(T) ) T * 471 forall( dtype T | sized(T) ) T * 475 forall( dtype T | sized(T) ) T * ?+=?( T * &, ptrdiff_t ); 476 forall( dtype T | sized(T) ) T * ?+=?( T * volatile &, ptrdiff_t ); 472 477 forall( dtype T | sized(T) ) const T * ?+=?( const T * &, ptrdiff_t ); 473 478 forall( dtype T | sized(T) ) const T * ?+=?( const T * volatile &, ptrdiff_t ); 474 forall( dtype T | sized(T) ) volatile T * 475 forall( dtype T | sized(T) ) volatile T * 479 forall( dtype T | sized(T) ) volatile T * ?+=?( volatile T * &, ptrdiff_t ); 480 forall( dtype T | sized(T) ) volatile T * ?+=?( volatile T * volatile &, ptrdiff_t ); 476 481 forall( dtype T | sized(T) ) const volatile T * ?+=?( const volatile T * &, ptrdiff_t ); 477 482 forall( dtype T | sized(T) ) const volatile T * ?+=?( const volatile T * volatile &, ptrdiff_t ); 478 forall( dtype T | sized(T) ) T * 479 forall( dtype T | sized(T) ) T * 483 forall( dtype T | sized(T) ) T * ?-=?( T * &, ptrdiff_t ); 484 forall( dtype T | sized(T) ) T * ?-=?( T * volatile &, ptrdiff_t ); 480 485 forall( dtype T | sized(T) ) const T * ?-=?( const T * &, ptrdiff_t ); 481 486 forall( dtype T | sized(T) ) const T * ?-=?( const T * volatile &, ptrdiff_t ); 482 forall( dtype T | sized(T) ) volatile T * 483 forall( dtype T | sized(T) ) volatile T * 487 forall( dtype T | sized(T) ) volatile T * ?-=?( volatile T * &, ptrdiff_t ); 488 forall( dtype T | sized(T) ) volatile T * ?-=?( volatile T * volatile &, ptrdiff_t ); 484 489 forall( dtype T | sized(T) ) const volatile T * ?-=?( const volatile T * &, ptrdiff_t ); 485 490 forall( dtype T | sized(T) ) const volatile T * ?-=?( const volatile T * volatile &, ptrdiff_t ); … … 497 502 signed long long int ?=?( signed long long int &, signed long long int ), ?=?( volatile signed long long int &, signed long long int ); 498 503 unsigned long long int ?=?( unsigned long long int &, unsigned long long int ), ?=?( volatile unsigned long long int &, unsigned long long int ); 499 zero_t ?=?( zero_t &, zero_t );504 zero_t ?=?( zero_t &, zero_t ); 500 505 one_t ?=?( one_t &, one_t ); 501 506 … … 552 557 signed long long int ?+=?( signed long long int &, signed long long int ), ?+=?( volatile signed long long int &, signed long long int ); 553 558 unsigned long long int ?+=?( unsigned long long int &, unsigned long long int ), ?+=?( volatile unsigned long long int &, unsigned long long int ); 559 //signed int128 ?+=?( signed int128 &, signed int128 ), ?+=?( volatile signed int128 &, signed int128 ); 560 //unsigned int128 ?+=?( unsigned int128 &, unsigned int128 ), ?+=?( volatile unsigned int128 &, unsigned int128 ); 554 561 555 562 _Bool ?-=?( _Bool &, _Bool ), ?-=?( volatile _Bool &, _Bool ); … … 666 673 ?+=?( long double _Complex &, long double _Complex ), ?+=?( volatile long double _Complex &, long double _Complex ), 667 674 ?-=?( long double _Complex &, long double _Complex ), ?-=?( volatile long double _Complex &, long double _Complex ); 668 669 670 671 675 672 676 … … 838 842 forall( dtype DT ) void ^?{}( const volatile DT * &); 839 843 840 void 841 void 842 void 843 void ^?{}( constvolatile void * &);844 void ^?{}( void * &); 845 void ^?{}( const void * &); 846 void ^?{}( volatile void * &); 847 void ^?{}( const volatile void * &); 844 848 845 849 // Local Variables: //
Note:
See TracChangeset
for help on using the changeset viewer.