aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove `?`dev-2024-04agingerBill2024-04-111-1/+1
|
* Add @(static) checkgingerBill2024-04-111-2/+2
|
* Change stack overflow check to >256 KiBgingerBill2024-04-111-2/+2
|
* Add `-vet-unused-variables` and ``-vet-unused-imports` (`-vet-unused` is both)gingerBill2024-04-111-1/+4
|
* Fix #3412gingerBill2024-04-111-1/+1
|
* Merge pull request #3366 from laytan/fix-vet-scope-buggingerBill2024-04-031-1/+1
|\ | | | | fix vet scope bug skipping some scopes
| * fix vet scope bug skipping some scopesLaytan Laats2024-04-021-1/+1
| | | | | | | | Fixes #3146
* | fix -vet warning for stack overflows not showing upLaytan Laats2024-04-031-11/+9
|/ | | | | Due to the placement of this code, the warning would only ever be added if the variable was also either unused or shadowed.
* Fix #3341gingerBill2024-03-271-3/+3
|
* Merge pull request #3283 from laytan/darwin-new-wait-on-address-apigingerBill2024-03-271-0/+9
|\ | | | | darwin: use new wait on address API if possible
| * add `ODIN_` prefix to the new constantLaytan Laats2024-03-181-1/+1
| |
| * darwin: use new wait on address API if possibleLaytan Laats2024-03-151-0/+9
| |
* | Merge pull request #3335 from rick-masters/fix_incomplete_struct_typegingerBill2024-03-261-0/+2
|\ \ | | | | | | Don't add type info for incomplete structs.
| * | Don't add type info for incomplete structs.rick-masters2024-03-261-0/+2
| | |
* | | Add extra sanity check for `nullptr`gingerBill2024-03-261-1/+3
|/ /
* | Fix another #soa race condition buggingerBill2024-03-261-0/+31
| |
* | Merge pull request #3329 from ↵gingerBill2024-03-251-1/+10
|\ \ | | | | | | | | | | | | laytan/fix-darwin_amd64-f16-emulation-on-older-microarches darwin: fix amd64 f16 emulation
| * | darwin: fix amd64 f16 emulationLaytan Laats2024-03-251-1/+10
| | | | | | | | | | | | Fixes #3222
* | | Fix #3249gingerBill2024-03-241-1/+4
| | |
* | | Improve error messages for some wrong constant value attributesgingerBill2024-03-241-0/+9
|/ /
* | Add error block around `error_line` callsgingerBill2024-03-231-1/+11
| |
* | Add some basic escape analysis errors for `return &x`gingerBill2024-03-231-0/+1
| |
* | Remove entry point when compiled with no-entry-point as shared librarygerigk2024-03-201-0/+2
| |
* | Replace `gb_exit(1)` with `exit_with_errors()` where appropriategingerBill2024-03-191-2/+2
| |
* | Serialize errors to make them sortable, deterministic, and generally more ↵gingerBill2024-03-191-4/+4
| | | | | | | | control
* | Add check to people trying to `foreign import` C files.gingerBill2024-03-181-0/+16
|/
* Merge branch 'haiku' of https://github.com/avanspector/Odin into haikuavanspector2024-02-251-0/+18
|\
| * Begin work adding `bit_field`gingerBill2024-02-221-0/+18
| |
* | Improve Haiku supportavanspector2024-02-251-0/+1
|/
* Add `#load_directory(path: string) > []runtime.Load_Directory_File`gingerBill2024-02-091-0/+15
|
* Improve error handling for missing library collection provided by the compilergingerBill2024-02-071-2/+2
|
* Force 128-bit calls on wasmgingerBill2024-02-051-5/+5
|
* Add require to 128-bit and f16 castsgingerBill2024-02-051-21/+21
|
* force requiring the 128-bit calls on WASM targetsgingerBill2024-02-051-21/+21
|
* Add require flags to 128-bit integer proceduresgingerBill2024-02-051-1/+4
|
* Minimize extra dependencies if u128/i128 and f16 are not usedgingerBill2024-02-021-21/+21
|
* Merge pull request #3141 from laytan/add-all-packages-flag-for-testsgingerBill2024-01-311-33/+42
|\ | | | | Add `odin test -all-packages` to be able to test an entire project
| * Add `odin test -all-packages` to be able to test an entire projectLaytan Laats2024-01-261-33/+42
| |
* | Remove cyclic import hack for `package runtime`gingerBill2024-01-281-4/+4
| |
* | `-default-to-panic-allocator`gingerBill2024-01-281-13/+14
| |
* | Move matrix compiler `builtin`s to `intrinsics`; alias within ↵gingerBill2024-01-281-0/+1
| | | | | | | | core_builtin_matrix.odin
* | Move `core:runtime` to `base:runtime`; keep alias aroundgingerBill2024-01-281-3/+25
| |
* | Remove dead codegingerBill2024-01-281-3/+7
|/
* fix for wasm on llvm 17Laytan Laats2024-01-221-1/+1
|
* Expand -subsystem option on WindowsJeroen van Rijn2024-01-181-5/+4
| | | | | | | | W:\Odin>odin run sketch.odin -file -subsystem:foo Invalid -subsystem string, got oo. Expected one of: BOOT_APPLICATION, CONSOLE (default), EFI_APPLICATION, EFI_BOOT_SERVICE_DRIVER, EFI_ROM, EFI_RUNTIME_DRIVER, NATIVE, POSIX, WINDOWS (or WINDOW), WINDOWSCE We now also set the constant ODIN_WINDOWS_SUBSYSTEM, which is "" for non-Windows targets.
* Add WINDOWS_SUBSYSTEM constant boolJeroen van Rijn2024-01-181-0/+2
| | | | true when -subsystem:windows for Windows targets, false otherwise.
* Add frontend stuff instrumentation toolinggingerBill2024-01-071-0/+44
| | | | | | | //+no-instrumentation @(no_instrumentation) @(instrumentation_enter) @(instrumentation_exit)
* Clean up error block usagegingerBill2024-01-051-4/+2
|
* Add `@(entry_point_only)` for proceduresgingerBill2024-01-051-0/+3
|
* fix double execution of testsLaytan Laats2023-12-271-3/+3
|