aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* lb_const_string -> lb_const_valuedev-2025-07Jeroen van Rijn2025-07-071-1/+1
|
* Remove old flag from helpJeroen van Rijn2025-07-011-6/+0
|
* [source-code-locations] - added options to show, obfuscate, and hide source ↵Hayden Gray2025-06-265-12/+107
| | | | code locations (#5412)
* fix load type panic because front-end allows a deref of a typeLaytan Laats2025-06-261-0/+7
| | | | Fixes #5357
* Add to `tests/internal`Jeroen van Rijn2025-06-261-1/+0
| | | | Turn repro code into a proper test, and delete superfluous files from Odin root.
* Fix bug where compiler treats uint enums as intsTohei Ichikawa2025-06-241-0/+4
|
* Fix an oversight for operators with more than 2 charsAirtz2025-06-241-2/+1
|
* Better error messagesAirtz2025-06-242-16/+18
|
* Merge pull request #5389 from Airtz/fix-4445Jeroen van Rijn2025-06-231-34/+55
|\ | | | | Fix #4445
| * Better proc groups inferenceAirtz2025-06-231-25/+39
| |
| * Merge branch 'odin-lang:master' into fix-4445Airtz2025-06-221-82/+62
| |\
| * | Fix #4445Airtz2025-06-221-19/+26
| | |
* | | Forbid nested declaration of instrumentation proceduresFeoramund2025-06-231-0/+6
| | | | | | | | | | | | Fixes #3774
* | | Fix spurious failure to compile procedures marked `@instrumentation_enter`Feoramund2025-06-231-0/+1
| |/ |/| | | | | | | The type `Source_Code_Location` may not be available yet, which causes the compiler to not recognize the procedure type correctly.
* | Merge pull request #5368 from Airtz/masterJeroen van Rijn2025-06-221-82/+62
|\ \ | |/ |/| Fix #5331 and `check_shift` improvements
| * sign check error message updateAirtz2025-06-221-1/+1
| |
| * `check_is_expressible` instead of `convert_to_typed` when there is no ↵Airtz2025-06-201-3/+2
| | | | | | | | `type_hint`
| * Update check_expr.cppAirtz2025-06-201-82/+63
| |
* | Merge pull request #5378 from laytan/fix-wasm-c-abi-raw-unionsgingerBill2025-06-213-15/+134
|\ \ | | | | | | Fix WASM C ABI for raw unions
| * | add returnLaytan Laats2025-06-201-0/+1
| | |
| * | Fix WASM C ABI for raw unionsLaytan Laats2025-06-203-15/+133
| | |
* | | Merge pull request #5380 from Feoramund/fix-2410Jeroen van Rijn2025-06-211-16/+18
|\ \ \ | | | | | | | | Ensure `volatile` status for all atomic operations
| * | | Ensure `volatile` status for all atomic operationsFeoramund2025-06-201-16/+18
| | | | | | | | | | | | | | | | Fixes #2410
* | | | Clarify --- for global variable.Jeroen van Rijn2025-06-211-1/+1
|/ / /
* | | Merge pull request #5150 from wishfoundry/patch-1Laytan2025-06-201-1/+1
|\ \ \ | | | | | | | | spelling in compilation errors
| * | | spelling in compilation errorsBen2025-05-111-1/+1
| | | |
* | | | Merge pull request #5211 from Barinzaya/union-custom-align-tag-sizeLaytan2025-06-201-5/+9
|\ \ \ \ | | | | | | | | | | Consider custom `#align` when determining union tag size
| * | | | Change union tag size to account for `#align`.Barinzaya2025-05-241-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prior behavior was adjusting the tag size based on the alignment of the types in the union, even when the union has a custom alignment specified with `#align`. This changes the behavior so that a custom alignment, if specified, takes precedence over the alignment of the types.
* | | | | Push `context` onto stack before evaluating procedure parametersFeoramund2025-06-201-3/+3
| |_|/ / |/| | | | | | | | | | | Fixes #4711
* | | | fix: escape object files with single quotes during linkingxenobas2025-06-201-2/+2
| |_|/ |/| |
* | | Add check_all scriptsJeroen van Rijn2025-06-161-0/+5
| | |
* | | Fix typo in `error_article_table` lookupAirtz2025-06-161-1/+1
| | |
* | | Add additional nullptr checks in types.cppJeroen van Rijn2025-06-141-9/+43
| | | | | | | | | | | | Ran into a bunch of nullptr problems while reviving an 8-year old Odin problem.
* | | add macOS Tahoe to `odin report` and `core:sys/info`Laytan Laats2025-06-141-0/+1
| | |
* | | Merge pull request #5305 from Feoramund/fix-4362gingerBill2025-06-101-1/+4
|\ \ \ | | | | | | | | Guard against invalid proc types in parameter list
| * | | Guard against invalid proc types in parameter listFeoramund2025-06-101-1/+4
| | | | | | | | | | | | | | | | Fixes #4362
* | | | Let `-no-entry-point` work for Windows DLLsFeoramund2025-06-101-0/+3
| | | | | | | | | | | | | | | | Fixes #4660
* | | | Define empty `gb_no_asan` if VS < 2022Jeroen van Rijn2025-06-101-1/+5
|/ / /
* | | Merge pull request #5286 from Feoramund/no-san-memgingerBill2025-06-095-1/+10
|\ \ \ | | | | | | | | Add `@(no_sanitize_memory)` with additions to `base:sanitizer`
| * | | Add `@(no_sanitize_memory)` proc attribute with MSan additions to ↵Feoramund2025-06-055-1/+10
| | | | | | | | | | | | | | | | `base:sanitizer`
* | | | Guard against untyped `nil` in type cycle and type info sectionsFeoramund2025-06-081-2/+2
| | | | | | | | | | | | | | | | Fixes #5299
* | | | Merge pull request #5294 from iarkn/type-is-bit-fieldJeroen van Rijn2025-06-062-0/+4
|\ \ \ \ | | | | | | | | | | Add `intrinsics.type_is_bit_field` proc
| * | | | Add `intrinsics.type_is_bit_field` prociarkn2025-06-062-0/+4
| |/ / /
* / / / Add `nullptr` check in `add_type_info_type_internal`Feoramund2025-06-061-1/+1
|/ / / | | | | | | | | | Fixes #5215
* | | [parser.cpp] - packages with `.odin` in the name no longer attemptHayden Gray2025-06-051-2/+2
| | | | | | | | | | | | to parse as odin files
* | | Let compound literal array be broadcast to a struct field of arraysFeoramund2025-06-051-0/+11
| | | | | | | | | | | | | | | | | | Fixes #4364 Patch courtesy of @cribalik
* | | Merge pull request #5279 from Feoramund/fix-4673Jeroen van Rijn2025-06-041-0/+14
|\ \ \ | | | | | | | | Be strict with type switch case column alignment too
| * | | Be strict with type switch case column alignment tooFeoramund2025-06-041-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | This copies the same block used for regular switch cases. Fixes #4673
* | | | Print timings to stderr instead of stdoutFeoramund2025-06-042-54/+54
|/ / / | | | | | | | | | | | | | | | This is in line with other diagnostic messages. Fixes #4642
* | | Add support for `#soa[N]T` compound literalsgingerBill2025-06-042-77/+249
| | |