Commit Graph

5990 Commits

Author SHA1 Message Date
gingerBill
e61228484a Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-30 12:58:43 +00:00
gingerBill
f1c6c52c21 Fix @(static, rodata) for slices 2025-12-30 12:58:37 +00:00
Laytan
bbd4c38f8f Merge pull request #6082 from harold-b/hb.fix-objc-auto-msgsend-class-methods
Fix auto objc_msgSend incorrectly treating certain class methods as instance methods.
2025-12-30 01:29:18 +01:00
Harold Brenes
ef33e55182 Fix auto objc_msgSend incorrectly treating certain class methods as instance methods. 2025-12-29 15:31:12 -05:00
gingerBill
39fa1b7201 LLVM IR: Improve basic block names for trivial switch statements for debuggability 2025-12-28 11:52:31 +00:00
gingerBill
14a60adefe LLVM IR: Improve type switch case names for better debuggability when generating LLVM IR 2025-12-27 12:48:25 +00:00
gingerBill
de761cbdd3 Remove temporary tuple fix alloca instructions if they are never used 2025-12-27 11:53:01 +00:00
gingerBill
2e6554b8c8 Disallow importing directories with an .odin extension/suffix 2025-12-26 11:49:46 +00:00
gingerBill
ce013acee7 Merge pull request #6031 from krnowak/krnowak/packed-all-or-none
Fix #packed #all_or_none
2025-12-21 20:21:24 +00:00
Krzesimir Nowak
8ca7fc481f Fix misleading error messages for init, fini and test attributes
These look like copy-pasta from the private attribute.
2025-12-21 18:59:26 +01:00
Harold Brenes
30e2875396 Fix automatic objc_msgSend on static methods not resolving aliased types. 2025-12-20 00:54:57 -05:00
gingerBill
70affd7e44 Disable global variable initialization into separate functions to circumvent an LLVM bug 2025-12-19 16:23:48 +00:00
Krzesimir Nowak
a5809d0185 Fix #packed #all_or_none 2025-12-18 15:04:34 +01:00
gingerBill
32f459e152 Change target triple of freestanding_amd64_win64 to x86_64-pc-windows-msvc to fix a bug with LLVM's code generation 2025-12-17 10:36:42 +00:00
gingerBill
e0e38afe60 With -use-single-module make some procedures use internal linkage rather than weak linkage 2025-12-17 10:27:28 +00:00
gingerBill
c5a54a0e52 Do naive compound literal comparison for $ parameters to parapoly procedures 2025-12-15 10:41:50 +00:00
gingerBill
aed11c4619 Remove debug string 2025-12-15 10:19:59 +00:00
gingerBill
ae314a4c6b Propagate array arithmetic fix 2025-12-15 09:43:29 +00:00
gingerBill
56876e32da Present constant array arithmetic error correctly 2025-12-15 09:42:08 +00:00
gingerBill
a3f189e896 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-12-09 12:47:59 +00:00
gingerBill
79ef9f0a43 Fix #6003 2025-12-09 12:47:49 +00:00
gingerBill
c0e4d2ea05 Merge pull request #5981 from the-JS-hater/struct-cycle-fix
undetected type declaration cycles work-around
2025-12-09 10:53:51 +00:00
miere43
29019d7138 Fix duplicate code emission in type assertions. 2025-12-03 21:27:38 +03:00
Jeroen van Rijn
7e9ceaa281 Fix #5982
Add escape analysis check for #load directive to fix #5982.
2025-12-01 22:16:37 +01:00
Morgan
555081240b missed a semicolon 2025-12-01 16:43:52 +01:00
Morgan
b3ef77e9dd undetected type declaration cycles work-around 2025-12-01 16:24:57 +01:00
Jeroen van Rijn
ac61f083fa Restore help line for all-bits 2025-12-01 14:15:56 +01:00
gingerBill
0f0c40b96d Fix -integer-division-by-zero modes and document all-bits 2025-12-01 13:11:32 +00:00
Jeroen van Rijn
e72aad983b Remove all-bits from option help text, isn't supported. 2025-11-30 22:37:35 +01:00
Laytan Laats
679d306d0f panic on transpose with result type in diff layout
Partially reverts 4db4841, it should behave the same as cast (which does
an implicit transpose).
2025-11-29 20:06:43 +01:00
laytan
4db4841413 fix matrix transpose with different result type
Fixes #5623
2025-11-29 12:14:06 +01:00
Franz
ba9b9eacb5 Fix #5967 (Incorrect stack overflow warning for by ref switches over unions) 2025-11-28 13:55:07 +01:00
gingerBill
f48e87d77d Merge pull request #5930 from odin-lang/bill/os2-file-stream
`os2.File_Stream`
2025-11-26 15:04:55 +00:00
A1029384756
411a5b6401 moved checking of -vet-unused-procedures and -vet-packages flags to
after all flags are parsed
2025-11-22 23:08:23 -05:00
gingerBill
21116a7b47 Use SIP hash as name canonicalization hash
Replaces fnv64a
2025-11-18 12:33:48 +00:00
gingerBill
d380b0877d Add intrinsics.type_is_superset_of 2025-11-17 10:03:05 +00:00
Laytan
eb089a1c98 skip collision panic when package names aren't unique 2025-11-16 15:06:30 +01:00
gingerBill
33341c47a1 Merge pull request #5908 from slowhei/master
Fix allocation of anonymous globals
2025-11-11 21:08:11 +00:00
korvahkh
f454bbd73c Fix #5894 2025-11-10 07:54:42 -06:00
Tohei Ichikawa
d6b5a3139a Fix allocation of anonymous globals 2025-11-09 21:07:28 -05:00
Harold Brenes
3a07a32411 Don't check procedure signature similarity when a foreign import proc is an Objective-C method. 2025-11-07 21:38:34 -05:00
gingerBill
4ce01854d5 Improve error positioning for #all_or_none 2025-11-06 09:37:16 +00:00
gingerBill
fc2cb8fb39 Remove #no_copy 2025-11-05 13:44:14 +00:00
gingerBill
c937d38db2 Improve doc-writer format for #all_or_none 2025-11-05 13:42:19 +00:00
gingerBill
c5556aa2e0 Update doc-writer 2025-11-05 13:32:32 +00:00
gingerBill
593d2e6daa Add #all_or_none 2025-11-05 13:30:40 +00:00
gingerBill
ea5db0e048 Fix type name name canonicalization within an anonymously nested procedure in a struct. 2025-11-05 10:06:40 +00:00
gingerBill
12d8572d43 Merge pull request #5886 from laytan/32bit-typeid-fixes
fixes for 32bit with regards to typeid
2025-11-04 20:56:49 +00:00
Laytan Laats
3ef0636324 unsigned 2025-11-04 21:49:22 +01:00
Laytan
c4d1cd6ee5 fixes for 32bit with regards to typeid 2025-11-04 21:37:29 +01:00