Commit graph

40602 commits

Author SHA1 Message Date
Paul Backus
7c95446800
Don't parse lambda as UDA without parentheses (#21009)
This brings the compiler's behavior in line with the language spec.

Fixes dlang/dlang.org#4137
2025-03-17 08:31:39 +08:00
Dennis
57a60e575c
Move genCfunc to cxxfrontend (#20992) 2025-03-17 06:40:49 +08:00
Walter Bright
726c50e5bd
load sign extended bytes (#21004)
* carith() function in exe1.c tests

* load sign extended bytes
2025-03-16 09:33:19 -07:00
Abul Hossain Khan
cf2674f689
Fix #20075 - Improve error message for immutable constructor type mismatch (#20990) 2025-03-16 08:00:27 +08:00
Dennis
92f9f997ba
Improve Fix #20318 Compiler should explain why implicit conversion to mutable fails (#21003) 2025-03-16 07:57:51 +08:00
Walter Bright
7d3293c45d
carith and more branch logic (#21002)
* carith() function in exe1.c tests

* more branch logic
2025-03-15 15:33:30 -07:00
Dennis
d5e6f49098
Fix #20982 - wrong line number in iasmgcc (#20993) 2025-03-15 20:16:44 +01:00
Walter Bright
142d509af2
get branches to block working (#20996)
* carith() function in exe1.c tests

* get branches to blocks working
2025-03-15 16:27:52 +08:00
Dennis
2408ac30e9
Reset global Loc table in initDMD (#20995) 2025-03-15 16:23:37 +08:00
Abul Hossain Khan
6476cebd44
Fix #20318 Compiler should explain why implicit conversion to mutable fails (#20984) 2025-03-14 19:09:40 +08:00
Walter Bright
49dc576b9d
more common subexpression implementation (#20988) 2025-03-14 15:15:48 +08:00
Walter Bright
1e75778d19
progress on dealing with common subexpressions (#20987) 2025-03-13 22:38:53 -07:00
Dennis
51be8bb729
memoryerror.d: Fix AnySupported version condition (#20983) 2025-03-14 07:13:44 +08:00
Abul Hossain Khan
35f1146a1b
Fixes the invariant not called on extern(C++) classes issue (#20981) 2025-03-13 18:36:45 +08:00
Nicholas Wilson
c5ba78dc34
fixup mtype.h for #20946 (#20971) 2025-03-13 07:22:15 +08:00
Walter Bright
d09d7689b6
fix tyToExtend() (#20979) 2025-03-12 09:02:00 -07:00
Matthew Qiu
aafe4f954b
Extracted Condition.include to visitor in expressionsem (#20977) 2025-03-12 07:33:53 +08:00
Richard (Rikki) Andrew Cattermole
6da6066bf1
Fix dub file for dscanner (#20978) 2025-03-12 07:29:09 +08:00
Manu Evans
603225372b Accept __rvalue attribute on ref functions; which will force the result to be treated as __rvalue. (#20946)
This is essential to implement `move`, `forward`, etc.
2025-03-11 14:12:06 +10:00
Albert24GG
9a8302a941
Fix #17481 - free ctors before returning (#20975) 2025-03-11 08:30:29 +08:00
Manu Evans
6c04f52a39
Accept __rvalue attribute on ref functions; which will force the result to be treated as __rvalue. (#20946)
This is essential to implement `move`, `forward`, etc.
2025-03-10 04:06:29 -07:00
Dennis Korpel
c6e387c448 bump VERSION to v2.111.0-beta.1 2025-03-09 17:10:49 +01:00
Dennis Korpel
ed78e9d300 Merge remote-tracking branch 'upstream/master' into stable 2025-03-09 17:10:21 +01:00
Walter Bright
4ad88c4b11
successfully run exe1.c elemi() test (#20969) 2025-03-09 16:39:25 +08:00
Walter Bright
d1f5972b54
getting first two tests in exe1.c to run (#20968) 2025-03-08 22:49:35 -08:00
Walter Bright
8812065e8b
fix #20960 i = i && 1; fails at runtime (#20961) 2025-03-07 11:42:12 +08:00
Walter Bright
4c4b9aef4d
detab source code (#20962) 2025-03-07 10:31:19 +08:00
Walter Bright
42619075eb
add exe1.c to test suite (#20957) 2025-03-06 12:25:59 -08:00
Walter Bright
b02be83f5c
fix 64 bit Arm relocations (#20951) 2025-03-06 12:24:21 -08:00
Dennis
4661fec6b7
Update copyright years to 2025 (#20958) 2025-03-06 18:17:32 +08:00
Matthew Qiu
325ef115e8
Move ClassDeclaration.vtblSymbol to dsymbolsem (#20956) 2025-03-06 16:02:40 +08:00
Matthew Qiu
57e7419c4d
Moved StaticForeach.lowerArrayAggregate to expressionsem (#20955) 2025-03-06 15:59:41 +08:00
Quirin F. Schroll
cc6f184a66
Improve placement new changelog entry (#20954) 2025-03-06 15:58:46 +08:00
Dennis Korpel
5ed96a59b3 purge changelog 2025-03-05 15:33:12 +01:00
Dennis Korpel
d5fa6e0629 bump VERSION to v2.110.0 2025-03-05 12:28:07 +01:00
Nicholas Wilson
ee6449ded0
Merge pull request #20952 from dkorpel/merge-stable
Merge stable
2025-03-05 19:00:22 +08:00
Dennis Korpel
5375db4f76 Merge branch 'stable' into merge-stable 2025-03-05 11:03:30 +01:00
Matthew Qiu
6df52b0ef2
Move ClassDeclaration.isFuncHidden to dsymbolsem (#20945) 2025-03-05 16:18:53 +08:00
Matthew Qiu
bc4c7e4452
Move Dsymbol.hasStaticCtorOrDtor to dsymbolsem (#20943) 2025-03-05 06:23:33 +08:00
Walter Bright
ddc7eaf570
another pass over movParams() (#20949) 2025-03-04 18:39:08 +08:00
Walter Bright
eb95108dfb
2nd go at funccall() for AArch64 (#20948) 2025-03-04 17:06:41 +08:00
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