Dennis
9f33f031f0
Rephrase "no identifier for declarator" parse error ( #20872 )
2025-02-16 08:09:43 +08:00
Dennis
ffbad272b6
Remove const ref
from Loc
parameters ( #20846 )
2025-02-12 17:23:25 +08:00
Dennis
b289b6a6dc
Refactor use of Loc/SourceLoc ( #20785 )
2025-01-26 14:06:14 +01:00
Walter Bright
a99a3894be
add __rvalue(expression) builtin ( #17050 )
2024-12-15 12:13:28 -08:00
Nicholas Wilson
2523149810
rename global.params.warnings
to useWarnings
...
in line with `global.params.useDeprecated `, reduce confusion with `global.warnings` (which tracks the number of warnings emitted).
2024-10-14 16:23:16 +08: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
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
Andrei Horodniceanu
a903c10e7c
compiler/test/unit/semantic/imports.d: call deinitializeDMD
...
There is the unit/deinitialization.d test that checks that variables
are empty before calling `initDMD`. If this test happens to be run
right before that one then the latter will fail.
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
2024-06-08 12:37:47 +02:00
Iain Buclaw
7fc21e7071
dmd: Move default field initializers to runtime
2024-02-12 21:17:17 +01:00
Razvan Nitu
f1f3a33c1d
Add test for parser instantiated with ASTBase in the testsuite ( #16166 )
2024-02-08 11:51:54 +02:00
Adam D. Ruppe
d8dcb940ab
Enhanced version of dip1036 implementation ( #15715 )
...
This implements the Enhanced Interpolated Expression Sequence proposal:
i"" or iq{} or q`` with a $(expression) in the middle are converted to a tuple of druntime types for future processing by library code.
2024-01-19 22:21:40 -08:00
RazvanN7
aa056db4a6
Move dmd.mtype.Type.covariant to dmd.typesem
2023-12-15 12:32:56 +01:00
Walter Bright
d6ec250275
add SearchOpt to enum type ( #15889 )
2023-12-08 14:56:03 +08:00
Razvan Nitu
f29a92dcbf
Extract Dsymbol.search from dsymbols.d and transform it into a visitor ( #15787 )
2023-11-19 06:39:57 +08:00
RazvanN7
38173e34b4
Break dependency of expression.d on ctfeexp.d
2023-11-07 23:03:41 +01:00
Walter Bright
afeeef2ac9
try out replacing Dsymbol.error() part 5 ( #15663 )
2023-10-09 19:48:25 -07:00
Walter Bright
8cf7178701
fix regression in #15623 ( #15624 )
2023-09-21 23:10:42 -07:00
Walter Bright
8fd1beb3a2
resurrect hex string literals ( #15393 )
2023-09-01 16:30:55 +02:00
Iain Buclaw
f1c9edd3f4
target: Rename is64bit to isX86_64 ( #15398 )
2023-07-11 11:29:25 +03:00
Walter Bright
a98aef0160
reduce Loc.sizeof by 8 bytes ( #15199 )
2023-05-08 17:07:38 -07:00
Iain Buclaw
0325bdcb9d
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-05-01 17:22:00 +00:00
Teodor Dutu
1db1ba87fd
Translate _d_arraycatnTX
to a template ( #14550 )
...
This brings the following changes:
- Improves the existing template `_d_arraycatnTX`, to now concatenates
both arrays and single elements
- Changes the lowerings to `_d_arraycatT` to use the new template
- Moves the lowering logic to `_d_arraycatnTX` to expressionsem.d
- Adds a new field to `CatExp` called `lowering` to store the template
lowering
- Removes the old non-template `_d_arraycatnTX` and `_d_arraycatT` hooks
- Moves `test19688.d` from `runnable/` to `compilable/` until
https://issues.dlang.org/show_bug.cgi?id=23408 is fixed
Signed-off-by: Teodor Dutu <teodor.dutu@gmail.com>
2023-04-28 10:33:48 +03:00
Dennis
dbabffbe5f
Deprecate invalid #
tokens in q{}
strings ( #15002 )
2023-04-06 17:03:04 +03:00
Walter Bright
5a79fff38f
fix Issue 23014 - importC: static thread-locals do not work ( #15069 )
2023-04-04 13:15:58 +03:00
lucica28
afdc1e524f
move addDefaultVersionIdentifiers to target ( #15073 )
2023-04-04 12:36:08 +03:00
Walter Bright
a986508ed0
add CompileEnv to lexer
2023-03-06 10:59:32 +01:00
Dennis Korpel
0f4cd1d35f
Deduplicate lexer unittest code
2023-02-28 09:23:03 +01:00
Walter Bright
49dec45f3c
add errorsink.d, an abstract interface to error messages ( #14906 )
2023-02-26 15:08:59 -08:00
Walter Bright
300ba0c0b8
ImportC: add __check(assign-expression) extension ( #14026 )
2023-02-07 12:57:43 +02:00
Walter Bright
14fd150a87
ImportC better error message for __int128 ( #14797 )
2023-01-09 14:20:46 -08:00
Walter Bright
f25f3f5cee
complete extraction of location.d
2022-12-28 11:33:38 -08:00
Walter Bright
a852b8ec82
extricate location.d into its own file
2022-12-25 06:32:05 +01:00
Dennis
3735e25752
Fix 21062 - Confusing error when using a keyword as an identifier for a declaration ( #14627 )
2022-11-08 16:36:42 +02:00
Iain Buclaw
d2d42fc32b
Merge pull request #14609 from ibuclaw/merge_stable
...
merge stable
2022-11-01 17:30:27 +01:00
lucica28
320b9ab673
fix alias location issue ( #14602 )
...
* fix alias location issue
* fix test
2022-11-01 11:04:27 +02:00
Ate Eskola
a658f02da9
Fix security issue 22495 ( #14538 )
...
Fix security issue 22495 - unicode bidirectional controls should be forbidden.
2022-10-29 06:05:31 +08:00
lucica28
607a9a4657
fix location issue for VisibilityDeclaration ( #14473 )
...
* fix location issue for VisibilityDeclaration
* add test
2022-10-05 12:09:24 +03:00
Iain Buclaw
12bee43ddd
dmd.dmodule: Expose FileManager.lookForSourceFile to C++ ( #14507 )
2022-10-03 05:58:50 +03:00
Dennis
5843effb01
Deprecate version/debug integers ( #14330 )
2022-07-26 09:37:30 +03:00
Iain Buclaw
09d04945bd
Fix build script paths to work with new merged repository structure
...
Co-Authored-By: Geod24 <pro.mathias.lang@gmail.com>
Co-Authored-By: Martin Kinkelin <noone@nowhere.com>
Co-Authored-By: Vladimir Panteleev <git@cy.md>
2022-07-09 23:49:27 +02:00
Iain Buclaw
6374bb87b7
Move dmd files into compiler/
2022-07-09 18:53:07 +02:00