Vexu
|
6c8f01dcde
|
correct field count
|
2020-01-16 22:52:10 +02:00 |
|
Andrew Kelley
|
56f433b3d9
|
update clang drivers to llvm 10.x (ac446302c)
|
2020-01-16 14:03:38 -05:00 |
|
Vexu
|
bac27731e3
|
add struct field default value to typeinfo
|
2020-01-16 13:22:30 -05:00 |
|
Vexu
|
df03fcf5f0
|
implement @bitSizeOf
|
2020-01-16 13:13:45 -05:00 |
|
Andrew Kelley
|
ba4cc03b4f
|
remove embedded LLD
we no longer have any patches against upstream LLD
|
2020-01-16 13:09:45 -05:00 |
|
Andrew Kelley
|
fbe6af81fd
|
Merge remote-tracking branch 'origin/master' into llvm10
|
2020-01-16 13:01:36 -05:00 |
|
LemonBoy
|
f609ce4f65
|
Minor changes to the ARM builtin fns
|
2020-01-16 12:50:53 -05:00 |
|
LemonBoy
|
7e5e767ba0
|
Fix regression in char printing
Closes #4014
|
2020-01-16 12:17:16 -05:00 |
|
LemonBoy
|
0267afa9c0
|
Fix garbled error messages from clang
|
2020-01-16 12:16:30 -05:00 |
|
Vexu
|
6450736c5f
|
translate-c default enum tag type to c_int
|
2020-01-16 12:50:44 +02:00 |
|
Vexu
|
cb257b4e11
|
allow non-exhaustive enums with no fields
|
2020-01-16 09:23:26 +02:00 |
|
Vexu
|
d84569895c
|
turn panics into compile errors, require at least 1 field in non-exhaustive enum
|
2020-01-16 09:04:11 +02:00 |
|
Andrew Kelley
|
8a792db2d8
|
Merge pull request #4187 from LemonBoy/builtin-rearrange
Some needed work on builtins
|
2020-01-15 18:39:50 -05:00 |
|
Vexu
|
02e5cb1cd4
|
add non-exhaustive enum to langref
|
2020-01-15 23:05:52 +02:00 |
|
Vexu
|
5c2238fc4a
|
small fixes
* error for '_' prong on exhaustive enum
* todo panic for `@tagName` on non-exhaustive enum
* don't require '_' field on tagged unions
|
2020-01-15 22:09:19 +02:00 |
|
Vexu
|
c57784aa15
|
add is_exhaustive field to typeinfo
|
2020-01-15 21:50:12 +02:00 |
|
Vexu
|
f3d174aa61
|
require size for non-exhaustive enums
|
2020-01-15 21:38:11 +02:00 |
|
Vexu
|
0ea96c11ef
|
disallow multiline strings in test and library names
|
2020-01-15 14:20:48 -05:00 |
|
LemonBoy
|
e8012740b9
|
Fix off-by-one error (and missing store op)
|
2020-01-15 20:03:41 +01:00 |
|
Vexu
|
b971c7d0ff
|
update tests and translate-c
|
2020-01-15 20:58:42 +02:00 |
|
Michael Dusan
|
0a41051955
|
stage1: move local native_libc.txt to global
Automatic creation of `native_libc.txt` now occurs only in global
cache. Manual creation/placement into local cache is supported.
closes #3975
|
2020-01-15 13:42:12 -05:00 |
|
Vexu
|
6fd0dddf18
|
implement non-exhaustive enums
|
2020-01-15 20:24:59 +02:00 |
|
LemonBoy
|
ede28755b6
|
Fix test case
|
2020-01-15 18:41:07 +01:00 |
|
LemonBoy
|
c5cfc9bf68
|
Move definition of __aeabi_read_tp
|
2020-01-15 17:50:51 +01:00 |
|
LemonBoy
|
5d5345728a
|
Fix div builtins to use the correct calling convention
|
2020-01-15 17:50:51 +01:00 |
|
LemonBoy
|
109e5f8a5a
|
Remove unnecessary logic
|
2020-01-15 17:50:51 +01:00 |
|
LemonBoy
|
44e3796285
|
Rearrange some builtin functions placement
|
2020-01-15 12:48:28 +01:00 |
|
Andrew Kelley
|
8d9d4a0658
|
Merge pull request #4182 from LemonBoy/mjeiorw
A bunch of patches
|
2020-01-15 04:28:54 -05:00 |
|
LemonBoy
|
c85afff5a8
|
Correct l_name field type
|
2020-01-14 23:11:10 +01:00 |
|
LemonBoy
|
49771f356f
|
Make sure @export symbol name is not empty
|
2020-01-14 21:23:11 +01:00 |
|
LemonBoy
|
c1f3766f1c
|
Correct dlpi_name field type
|
2020-01-14 21:15:33 +01:00 |
|
LemonBoy
|
158d98a7f2
|
Print sentinel value in ir_print
|
2020-01-14 21:13:55 +01:00 |
|
Michaël Larouche
|
7ee0e779af
|
Fix std.child_process.ChildProcess.spawnWindow when looking in PATH environment variable, it applied cwd+app_name instead of just using the app_name
|
2020-01-14 15:12:30 -05:00 |
|
LemonBoy
|
505b9db909
|
Fix codegen error for some union initializers
Closes #3377
|
2020-01-14 14:57:03 -05:00 |
|
Vexu
|
af2ede4d96
|
fix crash on multiline library name
|
2020-01-14 13:10:52 -05:00 |
|
LemonBoy
|
50754ba336
|
Fix ICE when BoundFn are passed as parameters
Closes #4022
Closes #3699
|
2020-01-14 13:09:23 -05:00 |
|
Shritesh
|
4c87281b5c
|
[docs] Add libc dependency to sentinel-term ptr example
Fixes "dependency on library c must be explicitly specified in the build command" error
|
2020-01-14 13:07:08 -05:00 |
|
Hersh Krishna
|
e7917d099d
|
Add clamp function to math module
|
2020-01-14 13:06:46 -05:00 |
|
Vexu
|
28daddae81
|
std-c todos and small fixes
|
2020-01-14 16:18:32 +02:00 |
|
Andrew Kelley
|
d3e67d9921
|
Merge pull request #4172 from LemonBoy/swish
Two switch-related patches
|
2020-01-13 18:01:19 -05:00 |
|
LemonBoy
|
cae93c860b
|
Allow switching on pointer types
Closes #4074
|
2020-01-13 22:18:49 +01:00 |
|
LemonBoy
|
84930fec27
|
Validate switch range endpoints
|
2020-01-13 21:45:16 +01:00 |
|
Andrew Kelley
|
b9f37ffe19
|
fix outdated comment
|
2020-01-13 14:48:43 -05:00 |
|
Andrew Kelley
|
4f9739189e
|
add an extra assert
|
2020-01-13 14:48:43 -05:00 |
|
Andrew Kelley
|
c774c9376a
|
Merge pull request #3957 from xackus/stage2_parser_3799
stage2 parser: fix segfault on extern block
|
2020-01-13 13:38:31 -05:00 |
|
Emilio G. Cota
|
2be12b24bc
|
doc/langref: mention that x is the sentinel in [N:x]T
Without looking at the example it is not possible to know
whether N or x is the sentinel value. Fix it.
|
2020-01-13 11:49:46 -05:00 |
|
Andrew Kelley
|
4d4852ad31
|
Merge pull request #4162 from LemonBoy/fix-4020
Fix @call being too eager to resolve the fn argument
|
2020-01-13 11:48:54 -05:00 |
|
LemonBoy
|
54b11f66a9
|
Fix compiler-error regression
|
2020-01-13 08:49:32 +01:00 |
|
Michael Dusan
|
d08009556e
|
Merge pull request #4161 from mikdusan/stage1-builtin-debugtrap
prefer C++ compiler builtins for BREAKPOINT
|
2020-01-12 18:28:10 -05:00 |
|
LemonBoy
|
34cdcb13c0
|
Fix @call being too eager to resolve the fn argument
Closes #4020
|
2020-01-12 23:51:18 +01:00 |
|