aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix #4390 by assigning invalid entity typeMisomosi2024-10-201-3/+4
|
* Fix #4330gingerBill2024-10-021-0/+4
|
* make c vararg with any vs concrete type similar enoughLaytan2024-09-041-0/+24
|
* fix `open` bindingsLaytan Laats2024-08-161-0/+15
| | | | | | | | | | `open` specifies the `mode` argument as vararg (presumably to make it optional). varargs actually have rules about casting, in this case the rule that any integer arg of size <= 4 has to be casted to `i32` before passing it. Not doing that implicit cast makes the permissions wrong or not apply at all.
* Merge pull request #4012 from laytan/posixgingerBill2024-08-141-2/+18
|\ | | | | core:sys/posix and core:os/os2 based on it (for darwin, netbsd, freebsd and openbsd)
| * posix: add packageLaytan Laats2024-08-141-2/+18
| |
* | Allow `@(require_results)` on `foreign` blocksgingerBill2024-08-141-1/+3
|/
* Fix alias handling of proceduresRoland Kovacs2024-08-121-1/+3
| | | | | | | | | 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.
* Remove use of mutex in single threaded codegingerBill2024-07-151-2/+1
|
* Calculate size and alignment, and reuse memory for all variadic calls within ↵gingerBill2024-07-141-0/+9
| | | | a procedure body
* remove misleading `@(optimization_mode)` values and make "none" inhibit ↵Laytan Laats2024-07-081-1/+0
| | | | optimizations
* Restrict a bit moregingerBill2024-07-041-41/+44
|
* Remove import name casesgingerBill2024-07-041-2/+0
|
* Allow `x :: y when cond else proc(...){...}`gingerBill2024-07-041-78/+156
|
* wasm: add foreign import and linking of wasm object filesLaytan Laats2024-07-021-2/+5
|
* disallow non-global foreign import of variables on wasmLaytan Laats2024-06-281-4/+4
|
* wasm error is no longer relevantJeroen van Rijn2024-06-271-3/+3
|
* Allow custom `main` when `-no-entry-point` is setFeoramund2024-06-181-1/+1
|
* Merge pull request #3734 from Feoramund/fix-3730gingerBill2024-06-111-0/+3
|\ | | | | Fix #3730
| * Fix #3730Feoramund2024-06-111-0/+3
| |
* | Minor clean up for backendgingerBill2024-06-111-1/+8
|/
* Add `intrinsics.procedure_of`gingerBill2024-06-101-5/+12
| | | | | | | | ```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 ```
* Add `@(rodata)`gingerBill2024-06-061-0/+6
|
* Clean up `handle_link_name` handling of `link_suffix`gingerBill2024-05-301-3/+22
|
* Add `@(link_suffix=<string>)`gingerBill2024-05-301-6/+7
|
* Fix error message handlinggingerBill2024-05-111-1/+1
|
* Fix #3555gingerBill2024-05-091-0/+11
|
* compiler: improve target features supportLaytan Laats2024-05-021-10/+39
|
* Add error block around `error_line` callsgingerBill2024-03-231-0/+1
|
* Allow casting between a `bit_field` and its backing typegingerBill2024-02-221-0/+1
|
* Improve foreign variable fuzzy type checkinggingerBill2024-01-281-2/+2
|
* Update instrumentation signature to support `runtime.Source_Code_Location` ↵gingerBill2024-01-091-5/+10
| | | | as last parameter.
* Implement instrumentation passgingerBill2024-01-071-7/+19
|
* Add frontend stuff instrumentation toolinggingerBill2024-01-071-0/+66
| | | | | | | //+no-instrumentation @(no_instrumentation) @(instrumentation_enter) @(instrumentation_exit)
* Clean up error block usagegingerBill2024-01-051-4/+3
|
* Add `@(entry_point_only)` for proceduresgingerBill2024-01-051-0/+1
|
* Fix build times for `-o:<string>` in LLVM-17gingerBill2023-09-211-4/+0
|
* Disallow aliasing of `any` and `typeid`gingerBill2023-08-081-0/+7
|
* Go through loads of `TODO`sgingerBill2023-08-011-6/+7
|
* Replace a lot of warnings with errors; remove deprecated stuffgingerBill2023-08-011-25/+1
|
* Improve `//+vet`; remove `using` in many places; add `//+vet !using-stmt` ↵gingerBill2023-07-311-2/+2
| | | | where necessary
* Add separate `-vet` flags; `-vet-using-*` flags; `//+vet` file flagsgingerBill2023-07-311-1/+1
|
* Fix to allow procedure groups on objective-c typesgingerBill2023-07-171-57/+67
|
* Fix #2562 caused by inlining of procedure callgingerBill2023-05-291-0/+1
|
* Minor change to handling of propagation of errors with `---` as a valuegingerBill2023-05-221-5/+4
|
* Restrict `---` to variable declarations onlygingerBill2023-05-221-1/+1
|
* Fix #2526gingerBill2023-05-181-4/+8
|
* Improve grammargingerBill2023-04-151-1/+1
|
* Add `struct #no_copy`gingerBill2023-04-151-0/+8
|
* rename -no-tls to -no-thread-localbumbread2023-03-141-1/+1
|