atil
5f5dfdc00e
return by pointer on linux
2021-03-19 07:28:27 +03:00
gingerBill
3337412228
split*_iterator procedures for package bytes and strings
2021-03-18 13:26:33 +00:00
gingerBill
e3f9d99a3b
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-03-18 13:25:47 +00:00
gingerBill
359ae29d98
Minor fixes
2021-03-18 13:25:41 +00:00
gingerBill
453b756edc
Merge pull request #872 from Kelimion/fix-cubic
...
Fix typo in cubic().
2021-03-16 15:36:34 +00:00
Jeroen van Rijn
d80670fe0c
Fix typo in cubic().
2021-03-16 16:34:59 +01:00
gingerBill
04e0cacd30
Update package core:math/linalg to support matrix3 euler angle operations
2021-03-16 12:14:54 +00:00
gingerBill
b94ab4dc05
Make check_single_global_entity use create_checker_context
2021-03-15 14:05:38 +00:00
gingerBill
85fd8aaf37
Merge pull request #868 from nakst/patch-1
...
Make size of allocation multiple of the alignment
2021-03-15 11:47:48 +00:00
gingerBill
6412a18ae1
Merge pull request #869 from nakst/patch-2
...
Similar to the update to gb.h
2021-03-14 20:53:30 +00:00
Nakst
acefb2edbc
Similar to the update to gb.h
2021-03-14 20:37:32 +00:00
Nakst
0d1addf0d4
Make size of allocation multiple of the alignment
...
To silence an error from GCC's address sanitizer.
2021-03-14 20:36:35 +00:00
gingerBill
f5142aaec4
Change from test_* prefix to @(test) attribute for odin test
2021-03-14 18:43:21 +00:00
gingerBill
db0ac2ba98
Add "NO TESTS RAN" message to testing.runner if no tests were ran
2021-03-14 18:17:00 +00:00
gingerBill
468ad4837b
Add pkg field to testing.Internal_Test
2021-03-14 18:15:08 +00:00
gingerBill
2aa588209e
odin test to work with the new core:testing package
2021-03-14 18:01:31 +00:00
gingerBill
10f91a0d3f
Make base32 and base64 adhere to -strict-style
2021-03-14 12:54:28 +00:00
gingerBill
8cc4cba06c
Add support for backslash \ to consume a newline
2021-03-14 12:53:57 +00:00
gingerBill
8f6439fa6b
Simplify expect_semicolon_newline_error rule
2021-03-13 23:17:56 +00:00
gingerBill
81efd2dc64
Remove && false from test code
2021-03-13 21:39:33 +00:00
gingerBill
b5c0c68615
Add -strict-style flag: Enforces code style stricter whilst parsing, requiring such things as trailing commas
2021-03-13 21:20:46 +00:00
gingerBill
a60d22fefd
Make trailing comma usage consistent
2021-03-13 21:18:07 +00:00
gingerBill
8123ff83a3
Fix is_diverging_stmt for invalid statements
2021-03-13 15:01:23 +00:00
gingerBill
4e2a2ac80a
Fix formatting of code
2021-03-10 10:53:30 +00:00
gingerBill
d23c10d80e
Merge pull request #865 from matias-eduardo/patch_llvm_bool_return_types
...
Add LLVM boolean compatibility to result types
2021-03-10 09:48:57 +00:00
Matias Fernandez
ba62bcf116
Add LLVM boolean compatibility to result types
2021-03-09 23:17:34 -04:00
gingerBill
84bb349900
Merge branch 'master' of https://github.com/odin-lang/Odin
2021-03-09 11:40:42 +00:00
gingerBill
3ff7bded64
Add intrinsics.volatile_store and intrinsics.volatile_load
2021-03-09 11:40:36 +00:00
gingerBill
8784b79482
Merge pull request #862 from Kelimion/kelimion/master
...
Remove double removal of extension when using the -out option.
2021-03-06 23:15:09 +00:00
gingerBill
d0f923ba74
Merge pull request #863 from jlreymendez/dll_build_fix
...
Fix nullref access violation when building with no entry point
2021-03-06 23:14:55 +00:00
Jose Luis Rey Mendez
4e8ec4ce38
Fix nullref access violation when building with no entry point
2021-03-06 20:02:16 -03:00
Jose Luis Rey Mendez
4f1fb73f32
Added vs code to git ignore
2021-03-06 20:01:11 -03:00
Jeroen van Rijn
cefde23232
Remove double removal of extension when using the -out option.
...
When specifying the out parameter, the extension was stripped twice.
If your path contains a ".", this caused issues.
e.g.
cd "C:\Repro\Path With a . In The Name\"
odin run repro.odin -keep-temp-files -out repro.exe
This would cause the files to end up as:
"C:\Repro\Path With a.exe", "C:\Repro\Path With a.ll", "C:\Repro\Path With a.bc" and "C:\Repro\Path With a.obj"
With this patch it works as expected, with or without a . in the file path.
2021-03-06 23:09:15 +01:00
gingerBill
083cec6c88
Remove dead code
2021-03-06 16:11:54 +00:00
gingerBill
45cd5c0b1c
Remove test code
2021-03-06 16:11:39 +00:00
gingerBill
572b9d1b3f
Fix context bug with deferred_* attributes which caused a new context to be created every time
2021-03-06 16:11:01 +00:00
gingerBill
0ae1b96182
Fix ir_print.cpp i32 line/column values
2021-03-05 15:42:59 +00:00
gingerBill
1988856eed
Minimize the size of runtime.Source_Code_Location to use i32 instead of int
2021-03-05 12:56:36 +00:00
gingerBill
15dbc99cb9
Minimize TokenPos size by using i32 for line/column/offset and file_id instead of String
...
To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
2021-03-04 16:45:30 +00:00
gingerBill
17eb0ce525
Minor update to math/linalg
2021-03-03 22:18:18 +00:00
gingerBill
619a977856
Improve math/linalg to support both f32 and f64 basic procedures for the specific*.odin files
2021-03-03 16:44:41 +00:00
gingerBill
b727b6438b
Minimize unneeded casts
2021-03-03 14:31:17 +00:00
gingerBill
75f127af7c
Add -vet-extra (checks for unneeded casts and transmutes)
2021-03-03 14:17:48 +00:00
gingerBill
c2794b62a9
Clean up logic for << and >> behaviour
2021-03-02 16:48:39 +00:00
gingerBill
4e63ab5edc
Re-enable "LLVM Function Pass"
2021-03-02 13:36:57 +00:00
gingerBill
2a1bec9fbb
Clean up lb_end_procedure_body logic
2021-03-02 00:43:25 +00:00
gingerBill
6faf024ab4
Remove unneeded return value from incl and excl
2021-03-02 00:40:40 +00:00
gingerBill
35edf45514
Add make_soa and delete_soa; Reorganize soa procedures into a separate file
2021-03-01 18:07:09 +00:00
gingerBill
667aa3671e
Fix Addressing for SOA on store; Add intrinsics.type_struct_field_count(T)
2021-03-01 17:54:49 +00:00
gingerBill
b428e9ee14
Improve lb_end_procedure_body logic
2021-03-01 15:14:21 +00:00