aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix #4763gingerBill2025-01-311-0/+4
|
* Add `@(export) foreign import`gingerBill2025-01-311-3/+13
|
* Add `@(ignore_duplicates)` for `foreign import` declarationsgingerBill2025-01-281-0/+9
|
* Do not warn about stack overflow in range loops 'by reference'flysand72025-01-161-3/+9
|
* Make `-no-dynamic-literals` the default nowgingerBill2025-01-051-1/+17
|
* Support multiple paths for wasm in `foreign import`gingerBill2025-01-011-0/+34
|
* Remove `#relative` types from the compilergingerBill2024-11-141-24/+0
|
* Ignore `package runtime` with using `-vet-unused-packages`gingerBill2024-10-021-0/+3
|
* print proc types in same order as procsBeau McCartney2024-09-291-3/+3
|
* fix deferred procedure errorsBeau McCartney2024-09-291-5/+5
|
* Add `-vet-unused-procedures`gingerBill2024-09-171-7/+48
|
* Add `-vet-packages:<comma-separated-string-array>`gingerBill2024-09-171-12/+4
|
* remove commaLaytan Laats2024-08-311-1/+1
|
* fix some issues with the "bad import name" errorsLaytan Laats2024-08-311-3/+9
| | | | | | | | | | There was so much wrong here: - The `if` statement was never entered because even on invalid import names `path_to_entity_name` returns "_" - Two errors were shown where one doesn't make sense, need to choose one based on context - Structure of the messages were different from other error messages - Suggestion was using the wrong import path
* Fix #4166gingerBill2024-08-301-1/+8
|
* Set a flag for delayed checkingavanspector2024-08-301-2/+1
|
* Add missing checker delayingavanspector2024-08-291-3/+3
|
* checker: delay foreign block checkingavanspector2024-08-261-8/+20
| | | | if file scope, otherwise as before
* Update checker.cppavanspector2024-08-261-3/+11
|
* Allow empty strings in `link_prefix` and `link_suffix`gingerBill2024-08-251-6/+6
|
* add support for linux_riscv64 and freestanding_riscv64Laytan2024-08-201-0/+1
|
* implement lshrti3 on wasmLaytan Laats2024-08-181-0/+1
|
* Allow `@(require_results)` on `foreign` blocksgingerBill2024-08-141-0/+7
|
* Merge pull request #4069 from zen3ger/1738-aliased-procedure-resolutiongingerBill2024-08-131-0/+12
|\ | | | | Fix alias handling of procedures
| * Fix alias handling of proceduresRoland Kovacs2024-08-121-0/+12
| | | | | | | | | | | | | | | | | | An incorrect memmove when overriding entities caused multiple ones to point to the same procedure with incomplete variant data, resulting in later hiting a compiler assertion. Introduced delayed type checking for procedure aliases, as it was masked by the previous error in the override logic.
* | possibly fix init_core_type_info race conditionLaytan Laats2024-08-101-0/+3
|/
* Add `intrinsics.simd_masked_load` and `intrinsics.simd_masked_store`gingerBill2024-08-051-2/+2
|
* Revert changes to `in_single_threaded_checker_stage`gingerBill2024-07-151-16/+16
|
* Disable the need for mutexes in single threaded checker stagegingerBill2024-07-151-30/+19
|
* Remove use of mutex in single threaded codegingerBill2024-07-151-5/+14
|
* Keep MSVC happy with secure versions of C callsgingerBill2024-07-151-0/+4
|
* Use `gb_zero_*` callsgingerBill2024-07-151-3/+3
|
* Calculate size and alignment, and reuse memory for all variadic calls within ↵gingerBill2024-07-141-0/+2
| | | | a procedure body
* Mock out `#no_capture` for future usegingerBill2024-07-141-1/+1
|
* Add `#no_capture args: ..T` to reuse the backing array stack memorygingerBill2024-07-141-0/+1
|
* remove misleading `@(optimization_mode)` values and make "none" inhibit ↵Laytan Laats2024-07-081-6/+6
| | | | optimizations
* Add sort for global types and proceduresgingerBill2024-07-081-1/+1
|
* Allow `x :: y when cond else proc(...){...}`gingerBill2024-07-041-0/+12
|
* Ff `@(disabled=true)`, do not add that entity's dependencies to the setgingerBill2024-07-041-0/+4
|
* wasm: add foreign import and linking of wasm object filesLaytan Laats2024-07-021-2/+1
|
* Add `-custom-attribute`gingerBill2024-06-281-2/+3
|
* Fix #3803gingerBill2024-06-281-0/+1
|
* Remove `@(warning)` and `#warning(...)`gingerBill2024-06-251-14/+0
|
* Merge pull request #3137 from laytan/show-defineablegingerBill2024-06-201-0/+2
|\ | | | | Add flags to show/export defineable values and warn if a -define is unused in the project
| * -show-defineables and -export-defineablesLaytan Laats2024-06-061-0/+2
| |
* | Forbid private test casesFeoramund2024-06-181-0/+8
| |
* | Add `intrinsics.procedure_of`gingerBill2024-06-101-0/+4
| | | | | | | | | | | | | | | | ```odin foo :: proc(x: $T) { fmt.println(x) } bar :: intrinsics.procedure_of(foo(int(123))) // parameters are never ran at compile time, similar to `size_of` bar(333) // prints 333 ```
* | Use `get_final_microarchitecture()` for `ODIN_MICROARCH_STRING`Feoramund2024-06-101-1/+3
| |
* | Add compilation-related constantsFeoramund2024-06-101-0/+25
| | | | | | | | | | | | | | | | | | | | | | `ODIN_VERSION_HASH` is the `git` SHA hash of the commit the Odin compiler was built with. `ODIN_MICROARCH_STRING` is the string passed to `-microarch` when the program was built. `ODIN_OPTIMIZATION_MODE` is an enum value of which optimization mode was used to build the program.
* | Remove unnecessary Wait_Signal checksgingerBill2024-06-071-4/+0
| |