gingerBill
c197a27185
Merge branch 'master' of https://github.com/odin-lang/Odin
2019-01-24 15:53:27 +00:00
gingerBill
345e790f52
Remove dead code
2019-01-24 15:52:51 +00:00
Tetralux
46c610d6e5
Fix printing IR of integer as a pointer with endianness.
...
When converting an integer value into a pointer and writing out the IR
for it in 'ir_print_exact_value', 'is_type_integer_endian_{little,big}'
did not correct handle being asked about pointer types.
They now reply with whether the endianness of 'uintptr' matches the
endianness being asked about.
2019-01-16 17:22:25 +00:00
gingerBill
19e37c852e
Change deferred_* scoping behaviour for if
2019-01-13 20:51:26 +00:00
gingerBill
8fc24fd6f2
Replace deferred with deferred_none, deferred_in, deferred_out
2019-01-13 19:34:08 +00:00
gingerBill
493f11521d
Check for _ for import names too
2019-01-13 17:44:38 +00:00
gingerBill
3363e2c199
Change import name determination rules
...
Use custom name if given, then directory name, then the package name
2019-01-13 11:54:25 +00:00
gingerBill
cf94d1735d
Add extra explicit entity usage
2019-01-13 11:24:03 +00:00
gingerBill
d453b9a5b1
Fix checking _ constant declarations with a procedure
2019-01-10 11:22:52 +00:00
gingerBill
5acea1bceb
Source_Code_Location.hash; %#v printing for Source_Code_Location; allow typeid for map keys
2019-01-05 15:56:47 +00:00
gingerBill
aac643f476
Remove debug printing text
2019-01-05 11:30:13 +00:00
gingerBill
37edbfeb74
Add missing types for min dep
2019-01-05 11:18:43 +00:00
gingerBill
9156af2bab
Add missing types to minimum dependency checking
2019-01-05 11:15:23 +00:00
gingerBill
3a18ae3978
Remove alignment experiment
2019-01-04 17:39:20 +00:00
gingerBill
f294c1adee
ir_print: Ignore load's align
...
(experimental idea as it might not be needed)
2019-01-04 10:39:39 +00:00
gingerBill
bb93a8b131
Fix TODO ParameterValue_Location
2019-01-04 10:19:39 +00:00
gingerBill
5bfe5ad82e
Remove unused directive
2019-01-03 12:21:11 +00:00
gingerBill
dd28fe6e82
Update CEL
2019-01-03 00:12:24 +00:00
gingerBill
cda0f4d8f3
Fix using struct cycle check
2019-01-02 23:55:21 +00:00
gingerBill
0778d18bc7
Fix using with bit_field
2019-01-01 15:11:54 +00:00
gingerBill
f647187e53
Fix defer on branching with new scoping rules
2019-01-01 11:59:09 +00:00
gingerBill
9dabbc2c95
Add entity use when using is applied to a variable declaration
2018-12-31 16:43:58 +00:00
gingerBill
4167168c63
Fix vetting
2018-12-31 16:37:27 +00:00
gingerBill
8b2f902f3d
Fix parsing issue with stray } and case at the file scope
2018-12-31 15:20:47 +00:00
gingerBill
bbece7e910
Remove some unneeded zero emits
2018-12-31 13:00:55 +00:00
gingerBill
6d3203c11b
Remove useless assertion in find_import_path
2018-12-30 15:40:45 +00:00
gingerBill
3ba3421f5f
Fix static procedure name mangling
2018-12-29 19:57:25 +00:00
gingerBill
2bbad5903f
Add static to fix_advance_to_next_stmt
2018-12-28 13:32:59 +00:00
gingerBill
a240a3d146
static variable declarations (Experimental)
2018-12-28 13:31:06 +00:00
gingerBill
775f1e2c95
Fix default parameter assignment checking
2018-12-28 11:20:31 +00:00
gingerBill
7c982b6e10
min & max for types
2018-12-27 12:12:14 +00:00
gingerBill
66a9fde12c
Remove #[...] attribute syntax.
...
(Not really worth the change)
2018-12-26 16:23:25 +00:00
gingerBill
eb5af2876a
Support #[...] as an alternative attribute syntax
...
(Experimentation between `@()` and `#[]`)
2018-12-26 12:19:12 +00:00
gingerBill
1f2fdddc6d
Support #! comments
2018-12-26 12:00:16 +00:00
gingerBill
956dd26aa0
Fix race condition; Change for in addressing mode
2018-12-24 16:11:24 +00:00
gingerBill
b504d6e12a
notin operator
2018-12-21 11:34:15 +00:00
gingerBill
3a05a2e562
Fix not for bit sets
2018-12-17 13:12:48 +00:00
gingerBill
68384a452f
Fix scoping determination for IR
2018-12-17 11:36:15 +00:00
gingerBill
34b6486361
Fix constant out of bounds bug
2018-12-15 22:30:52 +00:00
gingerBill
1ce90b2166
Remove weird bit_set shorthand; Add extra type hinting
2018-12-15 21:46:27 +00:00
gingerBill
9d6666f333
Disallow casting between cstring and []u8
2018-12-14 21:58:12 +00:00
gingerBill
95873e66ab
deferred procedure attribute
2018-12-14 21:05:02 +00:00
gingerBill
b7eebe5d00
Fix polymorphic record types with constant value parameters
2018-12-14 18:36:06 +00:00
gingerBill
57d4333ed3
Fix polymorphic procedure generation with debug information
2018-12-14 15:45:14 +00:00
gingerBill
26f11f12ab
Fix polymorphic type parameter argument count checking #298
2018-12-14 15:05:26 +00:00
gingerBill
0b6fc19fb0
Allow polymorphic cast on fields with _ #302
2018-12-14 14:57:04 +00:00
gingerBill
f2dae7023f
Fix polymorphic cast with pointers #303
2018-12-14 14:53:31 +00:00
gingerBill
f36775ffd8
Add endian specific integers to ir_debug_encoding_for_basic #307
2018-12-14 14:46:26 +00:00
gingerBill
b1d0d82254
Fix #raw_union bug #306
2018-12-14 14:38:38 +00:00
gingerBill
b54c35639b
Fix issue with mixture of named and unnamed parameters for a struct literal
2018-12-14 14:35:23 +00:00