aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | `-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
| | |
* | | Merge pull request #3821 from Kelimion/clang_overrideJeroen van Rijn2024-06-271-1/+8
|\ \ \ | | | | | | | | Allow `ODIN_CLANG_PATH=clang-path` overrides for link stage.
| * | | Allow `ODIN_CLANG_PATH=clang-path` overridesJeroen van Rijn2024-06-271-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Link using `clang`, unless overridden by `ODIN_CLANG_PATH` environment variable. Fixes #3783
* | | | wasm error is no longer relevantJeroen van Rijn2024-06-271-3/+3
|/ / /
* | | Remove `@(warning)` and `#warning(...)`gingerBill2024-06-253-35/+1
| | |
* | | Fix print segfault by missing argument in `or_*` shadowed errorFeoramund2024-06-221-1/+1
| | |
* | | Add `-build-mode:test`.Jeroen van Rijn2024-06-211-0/+4
| | |
* | | Add `#warning(<string>)` builtin compile time proceduregingerBill2024-06-202-1/+21
| | |
* | | Add `#directory`gingerBill2024-06-201-0/+8
| | |
* | | Merge pull request #3524 from Feoramund/freebsd-amd64-syscall-errnogingerBill2024-06-203-51/+189
|\ \ \ | | | | | | | | Add `intrinsics.syscall_bsd`
| * | | Add `intrinsics.syscall_bsd`Feoramund2024-06-123-51/+189
| | | | | | | | | | | | | | | | | | | | | | | | This is a BSD-style syscall that checks for a high Carry Flag as the error state. If the CF is high, the boolean return value is false, and if it is low (no errors) then the boolean return value is true.
* | | | Merge pull request #3137 from laytan/show-defineablegingerBill2024-06-205-1/+201
|\ \ \ \ | | | | | | | | | | Add flags to show/export defineable values and warn if a -define is unused in the project
| * | | | collect and show docs of defineablesLaytan Laats2024-06-073-32/+45
| | | | |
| * | | | explicit integer conversionsLaytan Laats2024-06-061-9/+12
| | | | |
| * | | | check if -define is actually usedLaytan Laats2024-06-063-7/+42
| | | | |
| * | | | -show-defineables and -export-defineablesLaytan Laats2024-06-065-1/+150
| | | | |
* | | | | Fix #3768gingerBill2024-06-201-0/+5
| | | | |
* | | | | Merge pull request #3778 from Feoramund/fix-2824gingerBill2024-06-181-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Allow custom `main` when `-no-entry-point` is set
| * | | | | Allow custom `main` when `-no-entry-point` is setFeoramund2024-06-181-1/+1
| | | | | |
* | | | | | Forbid private test casesFeoramund2024-06-181-0/+8
|/ / / / /
* | | | | Merge pull request #3773 from Kelimion/res_path_bugJeroen van Rijn2024-06-161-2/+6
|\ \ \ \ \ | | | | | | | | | | | | Fix `rc.exe` bug with double-quoted `.res` path.
| * | | | | Fix `rc.exe` bug with double-quoted `.res` path.Jeroen van Rijn2024-06-161-2/+6
| | |_|/ / | |/| | |
* / | | | Fix `bit_set` construction crash on constant non-integer fieldFeoramund2024-06-161-1/+3
|/ / / /
* | | | Revert "Merge pull request #3744 from Mango0x45/master"Jeroen van Rijn2024-06-141-23/+7
| | | | | | | | | | | | | | | | | | | | This reverts commit 45044de0b756f9ab018979abd5350533334a54ac, reversing changes made to 20c17ba6f971cf572da4fa5e9601e0df8d517112.
* | | | Fix compiler silently returning if `parse_packages` failsFeoramund2024-06-131-1/+2
| | | |
* | | | Merge pull request #3744 from Mango0x45/masterJeroen van Rijn2024-06-131-7/+23
|\ \ \ \ | | | | | | | | | | Pad ‘^~~~^’-style diagnostic ranges properly