Commit graph

40585 commits

Author SHA1 Message Date
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
Walter Bright
ef47ecf0a2
add floating support to tstresult() (#20884) 2025-02-17 12:07:45 +01:00
Dennis
c0c1b0ab12
Use __FILE__, __LINE__ for templated tracegc hooks (#20882) 2025-02-17 11:53:16 +01:00
Walter Bright
5d96a3cbe1
redo cdnot() floating point implementation (#20883) 2025-02-17 00:01:40 -08:00
Alexander Heistermann
eb21e50e74
Visual Studio Project for druntime #20783 (#20837) 2025-02-17 09:50:30 +08:00
Dennis Korpel
ff28aa1195 Improve field layout of Declaration 2025-02-17 00:43:06 +01:00
Dennis Korpel
efd10b140c Print function bodies instead of __lambda in error messages 2025-02-17 00:41:33 +01:00
Dennis
0bb48e277c
Remove version (tracegc) blocks (#20881) 2025-02-17 07:15:00 +08:00
Dennis Korpel
24f80a0c42 Put more types in Mcache 2025-02-16 23:48:20 +01:00
Dennis Korpel
b0d35f225f Remove unused TypeIdentifier.originalSymbol 2025-02-16 23:46:47 +01:00
Dennis Korpel
eb083c06d9 Fix #20859 - ICE: class with __vtbl field name causes segfault in Scope::inCfile 2025-02-16 23:45:36 +01:00
Dennis Korpel
eb75ada85d createModule: pass params by parameter instead of global. 2025-02-16 23:44:55 +01:00
Dennis
961862c455
Deprecate typesafe variadic class arguments (#20673) 2025-02-16 21:35:11 +01:00
Walter Bright
0131a00173
add loaddata() fp support (#20877) 2025-02-16 12:47:19 +01:00
Walter Bright
38c55096cd
implement cdcmp() for AArch64 floating point (#20876) 2025-02-15 22:07:08 -08:00
Dennis
9f33f031f0
Rephrase "no identifier for declarator" parse error (#20872) 2025-02-16 08:09:43 +08:00
Dennis
4b57724c91
Improve parser errors for statements at global scope (#20871) 2025-02-15 23:50:34 +01:00
Walter Bright
e85bc5f16e
add OPnegass code gen (#20868) 2025-02-15 22:54:41 +01:00
Quirin F. Schroll
38f0151910
Polish changelog (#20864) 2025-02-14 08:23:16 +08:00
Dennis Korpel
5e21fb9110 Fix stale references to BaseLoc 2025-02-13 21:51:18 +01:00
Dennis Korpel
d1df9a6552 Optimize access to Loc.filename 2025-02-13 21:49:33 +01:00
Dennis
842dd20ea5
Fix "DWARF2 reader: Badly formed extended line op encountered" (#20862) 2025-02-14 04:47:28 +08:00
Walter Bright
fe345e8ae9
add op= code generation (#20857) 2025-02-13 12:36:10 -08:00
Walter Bright
8c0967fe7c
cdeq() for AArch64 floating point (#20856) 2025-02-13 15:34:37 +08:00
liushuyu
12e64881f2
druntime: redirect dual-ABI functions on glibc to IEEE128 version ... (#20826)
... if IEEE long double ABI is selected
2025-02-13 15:26:07 +08:00
Dennis
f37cfdf837
Fix #20831 - Mangle conflict after ImportC statement expression gets expanded from macro (#20854) 2025-02-12 20:44:16 +08:00
Dennis
ffbad272b6
Remove const ref from Loc parameters (#20846) 2025-02-12 17:23:25 +08:00