aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5653 from smoke-y/emptyParengingerBill2025-09-061-0/+3
|\ | | | | Fix compiler segfault when trying to use () as type
| * formattingsmoke-y2025-09-051-1/+3
| |
| * fix empty parentheses seg faultsmoke-y2025-09-051-0/+1
| |
* | formattingsmoke-y2025-09-051-6/+4
| |
* | proc at type lvl seg faultsmoke-y2025-09-051-4/+6
|/
* skip errors on polymorphic procs when in a proc group with other optionsA10293847562025-08-283-1/+6
|
* Fix parentheses for raddbg expressiongingerBill2025-08-221-4/+4
|
* Remove debug printgingerBill2025-08-221-2/+0
|
* Improve the raddbg type views generated from `fmt`-based struct field tagsgingerBill2025-08-221-146/+269
|
* Add `@(raddbg_type_view=<optional-string>)`gingerBill2025-08-214-0/+210
| | | | | If no string parameter is provided, then one will be generated from the struct field tags. The attribute must be applied if the automatic struct field tag approach is to be used.
* Fix bug with `$fn: proc()` when passed with a global variablegingerBill2025-08-181-0/+8
|
* Allow `#+feature global-context` for `@(init)` and `@(fini)` procedures as ↵gingerBill2025-08-121-4/+34
| | | | an interim measure
* Add `-integer-division-by-zero:all-bits`gingerBill2025-08-104-11/+59
|
* Rename block names from `div` to `mod`.gingerBill2025-08-101-3/+3
|
* Add shortcut for `unsigned_x/power_of_two` -> `unsigned_x >> log2(power_of_two)`gingerBill2025-08-102-0/+18
|
* Add shortcut for division by a constantgingerBill2025-08-101-40/+87
|
* Fix name canonicalization for named specialized formsgingerBill2025-08-101-2/+7
|
* Add `#+feature global-context`gingerBill2025-08-102-1/+13
| | | | This allows to use of `context` in the global scope on a per file basis.
* Merge pull request #5556 from odin-lang/bill/division-by-zerogingerBill2025-08-106-46/+431
|\ | | | | Define Integer Division By Zero
| * Update src/main.cppgingerBill2025-08-081-1/+1
| | | | | | Co-authored-by: Itzik Shneorson <35134559+itziksn@users.noreply.github.com>
| * Handle `fixed_point_div` and `fixed_point_div_sat`gingerBill2025-08-082-4/+83
| |
| * Correct #+feature checkgingerBill2025-08-081-2/+2
| |
| * Add `-integer-division-by-zero:self`gingerBill2025-08-085-14/+48
| |
| * Add `#+feature integer-division-by-zero:<string>`gingerBill2025-08-084-22/+77
| |
| * Define the behaviour of integer division by zerogingerBill2025-08-084-30/+247
| |
* | Merge pull request #5558 from odin-lang/bill/init-fini-changesgingerBill2025-08-103-2/+21
|\ \ | | | | | | `@(init)` & `@(finit)` Changes.
| * | Improve error messagegingerBill2025-08-081-2/+6
| | |
| * | Disallow `proc "odin"` procedures to be called in the global scope in ↵gingerBill2025-08-081-0/+6
| | | | | | | | | | | | variable declarations
| * | Require `@(init)` and `@(fini)` to be `proc "contextless" ()`gingerBill2025-08-081-0/+9
| |/
* | Do not check for explicit allocators when determining proc in proc groupjanga-perlind2025-08-091-8/+10
| |
* | Merge pull request #5559 from Creativty/variable_dereference_suggestiongingerBill2025-08-081-1/+2
|\ \ | |/ |/| Improve dereference missing suggestion message
| * Add a better suggestion for cases that don't need ^ operatorxenobas2025-08-081-1/+2
| |
* | Print the name of missing runtime procedureSunagatov Denis2025-08-081-0/+1
| | | | | | | | | | | | This continues the fix made at 46b7abee9fdd339bac31fe7bc79551f2b3881f46, by asserting on missing entity early and printing it's name if its not found.
* | Merge branch 'master' of https://github.com/odin-lang/OdingingerBill2025-08-077-1/+628
|\ \
| * \ Merge pull request #5553 from flysand7/ice-fixJeroen van Rijn2025-08-071-0/+1
| |\ \ | | | | | | | | Fix ICE on missing procedure in base:runtime
| | * | Fix ICE on missing procedure in base:runtimeSunagatov Denis2025-08-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a required built-in procedure is missing from the base:runtime package, an assert should be triggered. However this does not happen and instead the compiler crashes silently. The cause is the null-dereference after scope_lookup_current returns nullptr. This adds an assertion that the runtime procedure is found, before proceeding to check it's type and performing further lookups.
| * | | Merge pull request #5547 from harold-b/hb.objc_block_intrinsicgingerBill2025-08-076-1/+627
| |\ \ \ | | | | | | | | | | Implements the Apple block ABI.2010.3.16 natively via `objc_block` intrinsic
| | * | | Implementes the block ABI.2010.3.16 natively via the `objc_block` intrinsic ↵Harold Brenes2025-08-066-1/+627
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and the `Objc_Block` builtin type. See: https://clang.llvm.org/docs/Block-ABI-Apple.html
* | | | | Fix instantiation of package for parapoly recordsgingerBill2025-08-071-2/+12
|/ / / /
* | | | Add support for `[dynamic]T` in `.raddbg`gingerBill2025-08-071-2/+3
| | | |
* | | | Fix typobill/utf16-stringsgingerBill2025-08-071-1/+1
| | | |
* | | | Add `intrinsics.type_canonical_name`gingerBill2025-08-072-0/+19
|/ / /
* | | Change `is_utf16` field to `encoding` and use an enumgingerBill2025-08-053-4/+17
| | |
* | | Merge branch 'master' into bill/utf16-stringsgingerBill2025-08-055-11/+79
|\ \ \
| * | | Fix atomics for tuplesdev-2025-08gingerBill2025-08-051-1/+1
| | | |
| * | | Fix possible race condition with struct offsetsgingerBill2025-08-052-9/+17
| | | |
| * | | Add `intrinsics.type_is_nearly_simple_compare`gingerBill2025-08-044-1/+61
| | | |
* | | | Fix `cstring != ""`gingerBill2025-08-021-2/+2
| | | |
* | | | Fix `string16 != ""` comparisongingerBill2025-08-021-4/+12
| | | |
* | | | Fix string16 literal length set in LLVMgingerBill2025-08-023-7/+12
| | | |