Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 7771010

Browse files
authored
Simplified TypeInfo, take 2: factor common code in (#3206)
Simplified TypeInfo, take 2: factor common code in merged-on-behalf-of: Andrei Alexandrescu <[email protected]>
1 parent 130f64e commit 7771010

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+517
-2660
lines changed

mak/DOCS

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -129,44 +129,6 @@ DOCS=\
129129
$(DOCDIR)\rt_trace.html \
130130
$(DOCDIR)\rt_tracegc.html \
131131
\
132-
$(DOCDIR)\rt_typeinfo_ti_Acdouble.html \
133-
$(DOCDIR)\rt_typeinfo_ti_Acfloat.html \
134-
$(DOCDIR)\rt_typeinfo_ti_Acreal.html \
135-
$(DOCDIR)\rt_typeinfo_ti_Adouble.html \
136-
$(DOCDIR)\rt_typeinfo_ti_Afloat.html \
137-
$(DOCDIR)\rt_typeinfo_ti_Ag.html \
138-
$(DOCDIR)\rt_typeinfo_ti_Aint.html \
139-
$(DOCDIR)\rt_typeinfo_ti_Along.html \
140-
$(DOCDIR)\rt_typeinfo_ti_Areal.html \
141-
$(DOCDIR)\rt_typeinfo_ti_Ashort.html \
142-
$(DOCDIR)\rt_typeinfo_ti_byte.html \
143-
$(DOCDIR)\rt_typeinfo_ti_C.html \
144-
$(DOCDIR)\rt_typeinfo_ti_cdouble.html \
145-
$(DOCDIR)\rt_typeinfo_ti_cent.html \
146-
$(DOCDIR)\rt_typeinfo_ti_cfloat.html \
147-
$(DOCDIR)\rt_typeinfo_ti_char.html \
148-
$(DOCDIR)\rt_typeinfo_ti_creal.html \
149-
$(DOCDIR)\rt_typeinfo_ti_dchar.html \
150-
$(DOCDIR)\rt_typeinfo_ti_delegate.html \
151-
$(DOCDIR)\rt_typeinfo_ti_double.html \
152-
$(DOCDIR)\rt_typeinfo_ti_float.html \
153-
$(DOCDIR)\rt_typeinfo_ti_idouble.html \
154-
$(DOCDIR)\rt_typeinfo_ti_ifloat.html \
155-
$(DOCDIR)\rt_typeinfo_ti_int.html \
156-
$(DOCDIR)\rt_typeinfo_ti_ireal.html \
157-
$(DOCDIR)\rt_typeinfo_ti_long.html \
158-
$(DOCDIR)\rt_typeinfo_ti_n.html \
159-
$(DOCDIR)\rt_typeinfo_ti_ptr.html \
160-
$(DOCDIR)\rt_typeinfo_ti_real.html \
161-
$(DOCDIR)\rt_typeinfo_ti_short.html \
162-
$(DOCDIR)\rt_typeinfo_ti_ubyte.html \
163-
$(DOCDIR)\rt_typeinfo_ti_ucent.html \
164-
$(DOCDIR)\rt_typeinfo_ti_uint.html \
165-
$(DOCDIR)\rt_typeinfo_ti_ulong.html \
166-
$(DOCDIR)\rt_typeinfo_ti_ushort.html \
167-
$(DOCDIR)\rt_typeinfo_ti_void.html \
168-
$(DOCDIR)\rt_typeinfo_ti_wchar.html \
169-
\
170132
$(DOCDIR)\rt_unwind.html \
171133
\
172134
$(DOCDIR)\rt_util_container_array.html \

mak/SRCS

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -544,42 +544,4 @@ SRCS=\
544544
src\rt\util\container\hashtab.d \
545545
src\rt\util\container\treap.d \
546546
\
547-
src\rt\typeinfo\ti_Acdouble.d \
548-
src\rt\typeinfo\ti_Acfloat.d \
549-
src\rt\typeinfo\ti_Acreal.d \
550-
src\rt\typeinfo\ti_Adouble.d \
551-
src\rt\typeinfo\ti_Afloat.d \
552-
src\rt\typeinfo\ti_Ag.d \
553-
src\rt\typeinfo\ti_Aint.d \
554-
src\rt\typeinfo\ti_Along.d \
555-
src\rt\typeinfo\ti_Areal.d \
556-
src\rt\typeinfo\ti_Ashort.d \
557-
src\rt\typeinfo\ti_byte.d \
558-
src\rt\typeinfo\ti_C.d \
559-
src\rt\typeinfo\ti_cdouble.d \
560-
src\rt\typeinfo\ti_cent.d \
561-
src\rt\typeinfo\ti_cfloat.d \
562-
src\rt\typeinfo\ti_char.d \
563-
src\rt\typeinfo\ti_creal.d \
564-
src\rt\typeinfo\ti_dchar.d \
565-
src\rt\typeinfo\ti_delegate.d \
566-
src\rt\typeinfo\ti_double.d \
567-
src\rt\typeinfo\ti_float.d \
568-
src\rt\typeinfo\ti_idouble.d \
569-
src\rt\typeinfo\ti_ifloat.d \
570-
src\rt\typeinfo\ti_int.d \
571-
src\rt\typeinfo\ti_ireal.d \
572-
src\rt\typeinfo\ti_long.d \
573-
src\rt\typeinfo\ti_n.d \
574-
src\rt\typeinfo\ti_ptr.d \
575-
src\rt\typeinfo\ti_real.d \
576-
src\rt\typeinfo\ti_short.d \
577-
src\rt\typeinfo\ti_ubyte.d \
578-
src\rt\typeinfo\ti_ucent.d \
579-
src\rt\typeinfo\ti_uint.d \
580-
src\rt\typeinfo\ti_ulong.d \
581-
src\rt\typeinfo\ti_ushort.d \
582-
src\rt\typeinfo\ti_void.d \
583-
src\rt\typeinfo\ti_wchar.d \
584-
\
585547
src\etc\linux\memoryerror.d

posix.mak

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ endif
276276
.PHONY : unittest
277277
ifeq (1,$(BUILD_WAS_SPECIFIED))
278278
unittest : $(UT_MODULES) $(addsuffix /.run,$(ADDITIONAL_TESTS))
279-
@echo done
280279
else
281280
unittest : unittest-debug unittest-release
282281
unittest-%: target

src/core/internal/array/operations.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ else
228228

229229
version (X86_64) unittest
230230
{
231-
pragma(msg, vectorizeable!(double[], const(double)[], double[], "+", "="));
232231
static assert(vectorizeable!(double[], const(double)[], double[], "+", "="));
233232
static assert(!vectorizeable!(double[], const(ulong)[], double[], "+", "="));
234233
// Vector type are (atm.) not implicitly convertible and would require

src/rt/typeinfo/ti_Acdouble.d

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/rt/typeinfo/ti_Acfloat.d

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/rt/typeinfo/ti_Acreal.d

Lines changed: 0 additions & 47 deletions
This file was deleted.

src/rt/typeinfo/ti_Adouble.d

Lines changed: 0 additions & 61 deletions
This file was deleted.

src/rt/typeinfo/ti_Afloat.d

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)