aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #682gingerBill2021-05-121-0/+13
|
* Fix #893gingerBill2021-04-271-2/+3
|
* Fix constant aliasing for debug informationgingerBill2021-04-261-1/+1
|
* Fix race condition with procedure aliases checking for declarations on ↵gingerBill2021-04-261-2/+2
| | | | constant aliases
* Make `main` calling convention "odin" rather than "contextless" to simplify ↵gingerBill2021-04-221-3/+2
| | | | code generation
* Add `optimization_mode` attribute for proceduresgingerBill2021-04-221-0/+12
| | | | | Allowed modes: "none", "minimal", "size", "speed" Currently: none == minimal and size == speed
* Remove temporary reference typesgingerBill2021-04-191-2/+2
|
* Fix `override_entity_in_scope `behaviour to correctly to report the changes ↵gingerBill2021-04-191-14/+27
| | | | upstream better
* Add `@(cold)` attribute to procedure declarationsgingerBill2021-04-141-0/+4
|
* Minor improvement to error message about assigning a type to a variable with ↵gingerBill2021-03-231-1/+1
| | | | no inference
* Change from `test_*` prefix to `@(test)` attribute for `odin test`gingerBill2021-03-141-2/+5
|
* Minimize TokenPos size by using `i32` for line/column/offset and file_id ↵gingerBill2021-03-041-9/+9
| | | | | | instead of `String` To make `i32` safe, the parser limits the file size of odin files to a maximum of 2GiB (which will be good enough for the vast vast majority of cases)
* Remove `#opaque` typesgingerBill2021-02-231-3/+0
|
* Remove `bit_field` keyword and parsing logicgingerBill2021-02-231-1/+0
|
* Remove `"pure"` and `"pure_none"` calling conventionsgingerBill2021-02-231-3/+0
|
* Remove `bit_field` type from Odin (keyword and dead runtime code still exists)gingerBill2021-02-191-3/+0
|
* Fix minor constant value declaration buggingerBill2020-12-141-21/+1
|
* Add `-show-unused` (Shows unused package declarations of all imported packages)gingerBill2020-11-171-2/+1
| | | | Crude output at the moment but better than nothing
* Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> ↵gingerBill2020-11-161-1/+1
| | | | when the parameter doesn't need to grow
* Implement custom temporary allocator using ring buffergingerBill2020-11-151-1/+0
|
* Add SCOPED_TEMPORARY_BLOCK for temporary allocations within a blockgingerBill2020-11-151-5/+4
|
* Inline asm expression (-llvm-api)gingerBill2020-10-241-1/+5
| | | | | | | | | | | | See https://llvm.org/docs/LangRef.html#inline-assembler-expressions Example: ``` x := asm(i32) -> i32 { "bswap $0", "=r,r", }(123); ``` Allowed directives `#side_effect`, `#align_stack`, `#att`, `#intel` e.g. `asm() #side_effect #intel {...}`
* Fix Odin bug with "none" procedure calling conventions in the runtimegingerBill2020-09-101-7/+9
|
* Update math and math/linalg; add "pure_none" calling conventiongingerBill2020-09-101-0/+9
|
* Fix `signature_parameter_similar_enough` logicgingerBill2020-06-301-7/+4
|
* Add `-show-system-calls`; Update runtime for windows_386; Fix some minor bugsgingerBill2020-06-301-0/+3
|
* Begin migration from sys/win32 to sys/windowsgingerBill2020-06-261-0/+11
|
* Fix #648gingerBill2020-06-101-1/+5
|
* Improve termination rules checking for missing `return`; Make diverging ↵gingerBill2020-06-061-2/+1
| | | | procedure `-> !` be terminators
* Add `"pure"` procedure typesgingerBill2020-05-231-2/+4
|
* Fix #561 `where` statements that eval to false do not show incorrect usage ↵gingerBill2020-05-131-1/+1
| | | | location
* Let -vet ignore intentional declaration shadowing #637gingerBill2020-05-121-0/+4
|
* Add experimental atom op tables for llvm-backendgingerBill2020-05-021-3/+21
|
* Basic polymorphic named procedure parameters for procedures and recordsgingerBill2020-04-131-2/+1
|
* Simplify compiler's `Map` and create a `StringMap` specifically for stringsgingerBill2020-04-131-10/+10
|
* Fix crash on aliasing compiler-only packages (e.g. intrinsics) with `_` at ↵gingerBill2020-04-041-0/+3
| | | | the global scope.
* Merge branch 'master' into llvm-integrationgingerBill2020-03-151-0/+5
|\
| * Add `@require` for global variablesgingerBill2020-03-121-0/+5
| |
* | Fix nested type declarations name generation, to be internally consistentgingerBill2020-03-081-0/+1
|/
* Improve error message on `using` with procedure parameters #568gingerBill2020-02-231-1/+1
|
* Add `-disable-assert` to disable the code generation of the built-in ↵gingerBill2019-12-291-0/+10
| | | | run-time 'assert' procedure
* Add constant literal expressionsgingerBill2019-12-271-1/+1
|
* Fix array lengths with enum value counts.gingerBill2019-12-271-0/+3
|
* Remove addressing mode `Addressing_Immutable`gingerBill2019-12-011-2/+0
|
* Fix Implicit Selector Expressions do not work at the global/package scope #484gingerBill2019-11-201-1/+1
|
* Fix Compiler assertion when applying `using` to `_` procedure parameter. #451gingerBill2019-10-261-2/+1
|
* Make `typeid` semantics consistent across variables and constantsgingerBill2019-10-061-17/+37
|
* Add suggestions to errors on casts and assignments.gingerBill2019-09-171-1/+2
|
* Add `where` clauses to `struct` and `union`gingerBill2019-09-081-1/+1
|
* Fix Ir panic on using append() from within anonymous function #432gingerBill2019-09-041-1/+2
|