Matthew Qiu
58d3b59dc5
Moved Staticforeach.lowerNonArrayAggregate and Staticforeach.prepare to expressionsem ( #20944 )
2025-03-04 17:05:02 +08:00
Walter Bright
5cd254f9e0
go over cdfunc() for AArch64 ( #20941 )
2025-03-03 10:51:34 -08:00
Manu Evans
37469bfae8
Merge pull request #17057 from WalterBright/placementNew
...
add Placement New
2025-03-03 19:50:22 +10:00
Walter Bright
ac045cf7a4
rewrite fixresult() for AArch64 ( #20940 )
2025-03-03 00:13:56 -08:00
Walter Bright
73158d8a78
add Placement New
2025-03-03 16:23:02 +10:00
Walter Bright
a9666925cc
tidy up cdloglog() ( #20939 )
2025-03-02 21:45:27 -08:00
Walter Bright
cdf4f5b072
implement floating point negation ( #20934 )
2025-03-02 15:52:40 -08:00
Walter Bright
ab57e77c03
recognize (e ? e : f) ( #20935 )
2025-03-02 11:03:44 -08:00
Walter Bright
6ee6720516
Cleanup and marking with TODO AArch64 ( #20933 )
2025-03-01 22:48:26 -08:00
Dennis
978b108b1b
Remove cast(STC) from TypeTag.semantic ( #20931 )
2025-03-01 00:44:56 +01:00
Dennis
2c304a4377
Fix #20929 - #line directives mess up -verrors=context ( #20930 )
2025-02-28 23:47:26 +01:00
Dennis
3945e81615
Fix #20907 - DMD segfaults with static array length parameter derived from left-shifted template parameter property ( #20919 )
2025-02-28 21:46:10 +01:00
Dennis
fcc982617a
Use typed STC
instead of StorageClass / ulong
( #20928 )
2025-02-28 19:53:22 +01:00
Walter Bright
ebb0bf65e6
more work on variadic functions ( #20918 )
2025-02-28 09:31:45 -08:00
Dennis
216837beca
Devirtualize Dsymbol.isXXX functions ( #20925 )
2025-02-28 07:31:47 +08:00
Paul Backus
5fc114165d
Fix importc_compare test on Windows ( #20922 )
...
MSVC does not support C11 atomics, but it still provides a "stub"
version of stdatomic.h, which aborts compilation with an #error
directive when included.
To avoid this error, explicitly set the C standard to C11 when invoking
the C preprocessor on Windows, and check for the C11 macro
__STDC_NO_ATOMICS__ before including stdatomic.h.
2025-02-27 20:15:31 +01:00
Matthew Qiu
996acb0528
Extract Dsymbol.oneMember to a visitor in dsymbolsem ( #20915 )
2025-02-25 21:19:58 +08:00
Adam Wilson
53a1cc8d13
Merge pull request #20910 from LightBender/odbc-deprecate
...
Deprecate the old ODBC 3.5 modules in core.sys.windows.
2025-02-25 02:14:50 -08:00
Walter Bright
beef42ebb4
fix #20912 lexing problem with #define // comments ( #20914 )
2025-02-25 17:34:19 +08:00
Walter Bright
152815e9ec
add prolog_genva_start() ( #20909 )
2025-02-24 17:31:08 -08:00
Adam Wilson
a0581f2538
Fix deprecation message.
2025-02-23 16:58:46 -08:00
Adam Wilson
d1d6c60a12
Move ODBVER outside of deprecation block.
2025-02-23 16:32:28 -08:00
Adam Wilson
a9b688f2fd
Fix deprecation message.
2025-02-23 16:20:53 -08:00
Adam Wilson
b76d185fa1
Fix deprecation message.
2025-02-23 16:03:26 -08:00
Adam Wilson
60d915b23d
Deprecate the old ODBC 3.5 modules in core.sys.windows.
2025-02-23 15:46:01 -08:00
Walter Bright
ee82f26a79
start on prolog_genvarargs() ( #20905 )
2025-02-21 16:28:01 +08:00
Walter Bright
5529c3f91b
detab cod1.d ( #20906 )
2025-02-21 13:59:50 +08:00
Dennis
1d8658d722
Fix #20889 - ImportC: Usage of typedef
types decays to original type ( #20904 )
2025-02-20 15:01:09 +01:00
Dennis
54a142412c
Improve error for failing opDispatch instantiation ( #20902 )
2025-02-20 10:40:10 +01:00
Matthew Qiu
f88520c3c1
Extract Dsymbol.checkCtorConstInit and make it a visitor in dsymbolsem ( #20819 )
2025-02-20 17:28:34 +08:00
Steven Schveighoffer
60a3060cdf
Use Entry struct from TypeInfo_AssociativeArray instead of local one, ( #20900 )
...
just one less template and one less place to maintain.
2025-02-20 06:00:27 +08:00
The Dlang Bot
016c38e276
Merge pull request #20863 from rainers/rainer_aa_fak_entry_ti
...
Fix issue #17503 - Associative Arrays improperly register a GC-allocated TypeInfo for element cleanup
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Signed-off-by: Steven Schveighoffer <schveiguy@users.noreply.github.com>
Merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2025-02-19 17:59:27 +01:00
Dennis
34cf3a9503
Fix #20894 ( #20895 )
...
- pragma(msg) interprets printf format specifiers
2025-02-19 13:42:21 +08:00
Dennis
0e5c41f799
Escape backticks in error messages ( #20893 )
2025-02-19 07:06:47 +08:00
Dennis
e082ce247a
Expand toErrMsg
to other types ( #20896 )
2025-02-19 06:39:32 +08:00
Rainer Schuetze
edd9eb5a2f
do not gag a fatal error ( #20892 )
2025-02-18 22:51:40 +01:00
Rainer
6551d7b988
remove redundant getTypeInfoType call
2025-02-18 21:17:42 +01:00
Rainer
b0ecd45211
adapt TypeInfoAssociativeArrayDeclaration in declaration.h
2025-02-18 20:25:45 +01:00
Rainer
c4a9796472
add test case from #20853
2025-02-18 13:51:06 +01:00
Elias Batek
f68ca2cbe0
Fix #20888 - Compiler spits out implicit conversion technobabble when a return statement doesn't match the return type of a function ( #20890 )
2025-02-18 16:55:56 +08:00
Rainer
28364abd38
generate full AA typeinfo in InExp
2025-02-18 09:22:39 +01:00
Walter Bright
56f35fd4df
add loads of floating point constants
2025-02-18 08:59:02 +01:00
Rainer
7496f54fc4
substitute inout with const in key and value types
2025-02-18 08:09:51 +01:00
Rainer
76f066303d
fix frontend.h
2025-02-18 00:04:54 +01:00
Dennis Korpel
b5e0bee399
Fix fail_compilation/retscope TEST_OUTPUT blocks
2025-02-17 23:29:05 +01:00
The Dlang Bot
62035067d8
Merge pull request #20886 from dkorpel/unittest-linkage-loc
...
Simplify linkage_location unittest
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2025-02-17 23:28:11 +01:00
Rainer
7d6fff7bcf
Fix issue #17503 - Associative Arrays improperly register a GC-allocated TypeInfo for element cleanup
...
- let the compiler generate type info for the AA Entry and add it to TypeInfo_AssociativeArray
- strip modifiers for index and next in TypeInfo_AssociativeArray to make it agnostic to changes by the glue layer
2025-02-17 22:02:57 +01:00
Dennis Korpel
3efb88d327
Remove redundant tests
2025-02-17 19:33:21 +01:00
Dennis Korpel
b58d9113ba
Simplify linkage_location unittest
2025-02-17 19:32:04 +01:00
Dennis
4d4d09ab33
Fix allman brace style ( #20885 )
2025-02-17 22:23:33 +08:00