Dennis
e643a07ebc
Also make deprecationSupplemental adhere to error limit ( #16779 )
...
Co-authored-by: Dennis Korpel <dennis@sarc.nl>
2024-08-13 23:23:09 +02:00
ryuukk
05b2c0dfe2
Fix bugzilla issue 24669 - Make -i work with C modules ( #16776 )
2024-08-11 19:34:17 +08:00
Nicholas Wilson
958ba9cbe3
Add reserved version identifier for Xtensa architecture
2024-08-08 14:08:01 +02:00
Dennis Korpel
f7f320a8e4
Implement auto ref for local variables
2024-08-07 05:49:49 +02:00
RazvanN7
29a34181da
Fix Bugzilla Issue 24687 - [REG2.110] Cannot cast string-imports to select overload anymore
2024-08-06 02:07:42 +02:00
Dennis Korpel
548e9c1ca5
Fix bugzilla 24694 - [DIP1000] can escape stack pointer through struct.class.field
2024-08-04 08:27:28 +08:00
Dennis Korpel
f6c2429bf2
Fix duplicate error message
2024-07-31 17:09:09 +02:00
Dennis Korpel
fe8bf49dba
escape.d: Consolidate notMaybeScope
and doNotInferScope
2024-07-31 15:31:38 +02:00
Dennis
8d1218e941
Fix bugzilla 24680 - [dip1000] final auto class method infers scope b… ( #16751 )
...
* Fix bugzilla 24680 - [dip1000] final auto class method infers scope but no return
* Remove dummy variable
2024-07-29 17:22:17 +02:00
Dennis Korpel
e4e00b14ce
Fix bugzilla 24375 - ImportC: .di generator outputs C expression with ->
operator
2024-07-29 15:51:18 +02:00
Dennis
04025fdba6
Add --ftime-trace to dmd ( #16363 )
...
* Add --ftime-trace to dmd
* Refactor timetrace code for dmd.
Pass Outbuffer by ref,
move timetrace filename logic to main.d
2024-07-29 14:48:03 +02:00
Dennis
4745a5413f
escape.d: simplify expression temporary assignment ( #16748 )
2024-07-24 17:20:33 +02:00
Dennis Korpel
5f73e54e8c
escape.d: improve handling of nested function calls
2024-07-24 15:20:42 +02:00
Walter Bright
dc1daca611
allow ref on locals, globals, and statics ( #16428 )
...
* allow ref on locals, globals, and statics
* add const to opEquals() overrides
2024-07-23 14:42:15 -07:00
Dennis
cf618a659c
Fix bugzilla 24337 - Segfault when printing an int[] cast from a string ( #16729 )
2024-07-22 11:00:31 +03:00
Dennis Korpel
7eaff9046b
Fix bugzilla 24447 - ImportC: extern symbols cannot have initializers
2024-07-22 00:45:15 +02:00
Dennis Korpel
749fd9ec58
Fix bugzilla 24670 - importC: .di generation does not place parentheses around const struct return types
2024-07-22 00:44:01 +02:00
Dennis Korpel
936553db90
Add test case for return scope inference
2024-07-21 08:50:58 +02:00
Dennis Korpel
9c3c0433b0
Rename Type.isscope
to isScopeClass
2024-07-21 08:49:36 +02:00
Nick Treleaven
3c13c3c548
[.di generation] Show TypeCtor method attributes after parameters ( #16732 )
...
* [.di generation] Show TypeCtor method attributes after parameters
Follow up to https://github.com/dlang/dmd/pull/16708 .
* Add changelog
2024-07-20 16:01:45 +02:00
Dennis
d8dd92a70c
Fix bugzilla 23830 - Azure failure for OMF: Module name not printed before struct symbol ( #16727 )
2024-07-20 13:37:09 +02:00
Dennis
6c826179ad
Fix bugzilla 23294 - parameter to parameter assignment leads to incorrect scope inference ( #16725 )
2024-07-19 15:47:01 +03:00
Dennis
f9d251621c
Fix bugzilla 23300 - std.array : array wrongly propagates scopeness o… ( #16724 )
...
* Fix bugzilla 23300 - std.array : array wrongly propagates scopeness of source
* Fix endless loop
2024-07-19 15:46:22 +03:00
Dennis
4bee12e00e
escape.d: Remove special case for DelegateExp arg ( #16723 )
2024-07-19 14:25:55 +03:00
Dennis Korpel
f384dadc55
escape.d: combine return scope and return ref branches
2024-07-19 00:14:34 +02:00
Dennis
af99c1e2d2
escape.d: simplify escapeExp logic ( #16719 )
...
* escape.d: simplify escapeExp logic
* Fix forward reference error in std.typecons
2024-07-18 11:52:48 +03:00
Dennis
96fab42ee5
Fix bugzilla 24663 - dip1000 doesn't check slice expression implicitly converted to static array ( #16705 )
2024-07-16 16:47:09 +02:00
Nick Treleaven
6b5e8f6a0e
[ddoc] Show TypeCtor method attributes after parameters ( #16708 )
...
This is more readable.
2024-07-16 14:33:12 +03:00
Dennis
f158c3553e
escape.d: Fix handling of isTypesafeVariadicArray ( #16709 )
2024-07-16 14:29:57 +03:00
Nicholas Wilson
9a5ce0e1ef
Actually give deprecation for -noboundscheck
( #16687 )
...
This has been deprecated for at least 7 years...
2024-07-13 16:08:02 +08:00
Dennis Korpel
a6f0a845b6
Fix bugzilla 24645 - Hidden static assert error messages if more than 20 errors
2024-07-12 14:04:28 +02:00
Dennis Korpel
458d766cb5
Add note when errors are omitted
2024-07-12 12:58:23 +02:00
Nick Treleaven
9da51ae446
Combine related tests
2024-07-08 13:06:17 +01:00
Nick Treleaven
2da873a631
Fix Bugzilla 23449 - spellchecker should suggest corrections for pointer members
2024-07-08 13:05:30 +01:00
Nick Treleaven
97366596be
Fix Bugzilla 9997 - Missed misspell suggestions for UFCS
2024-07-08 12:29:43 +01:00
Tim Schendekehl
cce6c95fe0
Fix bugzilla 24651 - Bitfield layout wrong for 48-bit field on 32-bit Linux ( #16667 )
2024-07-07 07:36:37 +08:00
Martin Kinkelin
7ab98b931a
Fix Bugzilla 24599 - Wrongly elided TypeInfo emission ( #15868 )
...
Reverting #14844 , which caused such missing TypeInfos, *and* making
sure the special TypeInfo members are fully analyzed and ready for
codegen (otherwise hitting an assertion for the real-world project).
2024-07-02 19:31:34 +02:00
The Dlang Bot
66b93fc24a
Merge pull request #16642 from ibuclaw/merge_stable
...
merge stable
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2024-07-01 16:52:47 +02:00
Iain Buclaw
3c5d12bd1f
Merge remote-tracking branch 'upstream/stable' into merge_stable
2024-07-01 13:58:42 +00:00
Dennis Korpel
25f26e2bdf
Treat import("file")
as hex string
2024-07-01 01:21:36 +02:00
Johan Engelen
b5130fd880
Fix bugzilla issue 24623 followup.
...
Rename CppRuntime to _LLVM and _GNU
Also accept c++ for cxx in target string.
2024-06-30 13:45:31 +02:00
Nick Treleaven
be5dd7c25e
[trivial] Fix foreach range tuple element error message
2024-06-28 15:59:30 +02:00
Nick Treleaven
74618abad1
Fix Bugzilla 24631 - Pointer cast allows changing @system field in @safe code
2024-06-26 15:29:49 +02:00
Nick Treleaven
5058aa95fe
Fix Bugzilla 24630 - Casting a bool pointer to a mutable pointer type is unsafe
2024-06-26 01:05:08 +02:00
Nick Treleaven
e96efa0db1
Tweak message for unsafe cast to bool array/pointer
...
Add test for cast to `bool*`.
See https://issues.dlang.org/show_bug.cgi?id=24582 .
2024-06-23 15:08:31 +02:00
Tim Schendekehl
557e1d5eea
Fix bugzilla 24594 - ImportC: Packed struct has wrong layout ( #16611 )
...
Packed structs were already implemented with the Microsoft syntax
(e.g. `#pragma pack(push, 1)`), but the GCC syntax was ignored.
2024-06-22 20:48:09 +08:00
Johan Engelen
0e174c920f
Fix d_do_test for older host compiler without this PR.
2024-06-22 12:42:31 +02:00
Johan Engelen
349b493810
Fix bugzilla issue 24623: Rename CppRuntime_Clang/Gcc to CppRuntime_libcpp/libstdcpp. Add libcpp and libstdcpp -target= option recognition.
2024-06-22 11:55:11 +02:00
Nick Treleaven
3949a4dd3b
Fix Bugzilla 24622 - Modify const data with void[] concatenation/append ( #16606 )
2024-06-21 18:57:47 +03:00
Nick Treleaven
15f66f89c9
Fix Bugzilla 12885 - const union wrongly converts implicitly to mutable
2024-06-20 12:04:11 +02:00