aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Sanity check for a `nullptr`gingerBill2024-07-011-1/+3
|
* Fix #3515gingerBill2024-07-011-7/+16
|
* Add `intrinsics.type_struct_has_implicit_padding` #3844gingerBill2024-07-013-1/+29
|
* Fix showing error when not meant togingerBill2024-07-011-1/+3
|
* Add support for `make(#soa[]T)` etcgingerBill2024-07-011-2/+77
|
* Merge pull request #3760 from Feoramund/refactor-show-error-on-linegingerBill2024-07-016-58/+3536
|\ | | | | Refactor `show_error_on_line`
| * Re-implement the error squiggles with visual widthFeoramund2024-06-292-164/+143
| |
| * Add `UCG` library to Odin compilerFeoramund2024-06-293-0/+3320
| |
| * Refactor `show_error_on_line`Feoramund2024-06-142-71/+243
| | | | | | | | | | | | | | | | | | This should adequately solve any issues with Unicode alignment by sidestepping the issue entirely. With this change, we make use of the built-in ANSI facilities of the terminal to underline the text. If the terminal does not support underlining, there are still the fallback bold markers at the start and end of error locations.
| * Remove unused code from tokenizerFeoramund2024-06-141-4/+0
| |
| * Fix displaying emptiness when error is on first lineFeoramund2024-06-141-0/+5
| |
| * Fix displaying error on wrong line with token at EOLFeoramund2024-06-141-0/+6
| | | | | | | | | | Previously, this would get a token on text like "\n*\n" where `*` is the token's position, and it would advance off that line.
* | Merge pull request #3848 from laytan/wasm-c-abi-indirect-multifield-structgingerBill2024-07-011-9/+9
|\ \ | | | | | | make structs with multiple fields always return indirect in wasm c abi
| * | fix not setting cc before using it in abi computationsLaytan Laats2024-07-011-1/+1
| | |
| * | make structs with multiple fields always return indirect in wasm c abiLaytan Laats2024-07-011-8/+8
| | |
* | | Merge pull request #3842 from karl-zylinski/fix-poly-bitset-sizeJeroen van Rijn2024-06-301-0/+10
|\ \ \ | | | | | | | | Fix for bit_set[$T] proc params always being generated as i8
| * | | Make types like bit_set[$T] have their upper and lower bits overwritten by ↵Karl Zylinski2024-06-301-0/+10
| | | | | | | | | | | | | | | | upper/lower from the source types when checking if polymorphic type is assignable. This fixes an issue where an i8 was always generated for bit_sets with generic elements, because it couldn't figure out upper/lower when check_bit_set_type was run. Fixes #2860
* | | | Remove the `-disallow-do` aspect from `-strict-style`gingerBill2024-06-291-2/+0
| |/ / |/| |
* | | Improve `-strict-style` rules for `if-else` statementsgingerBill2024-06-291-4/+12
| | |
* | | Add `-vet-tabs`gingerBill2024-06-293-0/+51
| | |
* | | Fix accidental deletion in the `-strict-style` help commentgingerBill2024-06-291-1/+1
| | |
* | | Move microarch stuff to a separate filegingerBill2024-06-292-462/+463
| | |
* | | Add note regarding `-strict-style`gingerBill2024-06-291-0/+2
| | |
* | | `-strict-style` implies `-disallow-do`gingerBill2024-06-291-1/+3
| | |
* | | Update `-strict-style`gingerBill2024-06-291-0/+2
| | |
* | | `-strict-style` enforce 1TBS (mostly)gingerBill2024-06-291-2/+9
| | |
* | | `-strict-style`: enforce `case` to be in the same column as `switch`gingerBill2024-06-291-0/+14
| | |
* | | Remove debug messagegingerBill2024-06-291-1/+0
| | |
* | | Keep `-sanitize:address` happy with `bit_field` loadsgingerBill2024-06-291-1/+2
| | |
* | | Add another `-vet-cast` checkgingerBill2024-06-291-11/+11
| | |
* | | Add check for integer castsgingerBill2024-06-291-8/+15
| | |
* | | Add internal flag for testing stuffgingerBill2024-06-293-5/+13
| | |
* | | Check for unneeded `transmute` with `-vet-cast`gingerBill2024-06-291-12/+26
| | |
* | | Rename `-vet-identical-cast` to `-vet-cast`; with minor code clean upgingerBill2024-06-293-17/+17
| | |
* | | Merge pull request #3832 from Feoramund/vet-identical-castgingerBill2024-06-293-3/+32
|\ \ \ | |/ / |/| | Add `-vet-identical-cast`
| * | Add `-vet-identical-cast`Feoramund2024-06-283-3/+32
| | |
* | | Use `f32` as the immediate type for addition and subtraction for ↵gingerBill2024-06-291-13/+51
| | | | | | | | | | | | `complex32`/`quaternion64`
* | | Allow for `when x in y {` (minor oversight in syntax)gingerBill2024-06-291-0/+3
|/ /
* | Add `-custom-attribute`gingerBill2024-06-283-2/+41
| |
* | Fix #3803gingerBill2024-06-282-3/+6
| |
* | Improve error reporting on "Failed to parse fail" and show the line error if ↵gingerBill2024-06-281-3/+26
| | | | | | | | possible
* | Improve tokenization for false integer literals but not effect possible ↵gingerBill2024-06-281-13/+15
| | | | | | | | float literals
* | Improve error message for #3754gingerBill2024-06-281-0/+6
| |
* | Improve tokenizing wrong number literalsgingerBill2024-06-282-1/+12
| |
* | Properly fix #3820gingerBill2024-06-282-15/+51
| |
* | Fix #3819gingerBill2024-06-281-2/+16
| |
* | Fix #3820gingerBill2024-06-281-1/+2
| |
* | Fix #3471gingerBill2024-06-281-2/+2
| |
* | disallow non-global foreign import of variables on wasmLaytan Laats2024-06-286-10/+9
| |
* | Avoid sporadic wasm crashJeroen van Rijn2024-06-281-1/+1
| |