Commit graph

29 commits

Author SHA1 Message Date
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