aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* `where` clauses for procedure literalsgingerBill2019-08-311-7/+26
|
* Make `require_results` an attribute rather than a suffix tag for proceduresgingerBill2019-08-311-4/+3
|
* Fix variable dependency ordering issues caused by procedure literalsgingerBill2019-08-311-8/+15
|
* Fix global variable initialization orderinggingerBill2019-08-291-2/+3
| | | | (related to #427)
* `package reflect`; fix substring type bug; fix scoping rules for `using` on ↵gingerBill2019-08-111-43/+75
| | | | procedure parameter
* Change scoping rules to allow for shadowing of procedure parameters but not ↵gingerBill2019-07-271-2/+2
| | | | named return values
* Fix procedure constant declaration value type assignment checkinggingerBill2019-06-211-1/+54
|
* Fixes to ABIgingerBill2019-05-291-1/+1
|
* Add `..<` operator for ranges; Add extra checking for bit set assignmentsgingerBill2019-05-281-1/+1
|
* odin querygingerBill2019-05-251-1/+4
| | | | Output .json file containing information about the program
* Improve type inference for variadic parametersgingerBill2019-05-041-1/+1
|
* `@(private)` for `foreign` blocks; Improve foreign signature similarity rulesgingerBill2019-03-241-25/+45
|
* Add error message for when trying to assign a type to a variable.gingerBill2019-03-221-0/+8
|
* Disallow attributes on alias declarationsgingerBill2019-03-151-2/+12
|
* Make `static` an attribute rather than a keyword prefixgingerBill2019-02-231-1/+6
|
* Replace `foreign export {}` with `@export`gingerBill2019-02-231-5/+6
|
* Replace `deferred` with `deferred_none`, `deferred_in`, `deferred_out`gingerBill2019-01-131-1/+1
|
* `deferred` procedure attributegingerBill2018-12-141-0/+5
|