aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `#by_ptr` procedure attribute to enforce a parameter to be passed by ↵gingerBill2022-07-241-0/+1
| | | | pointer internally
* `@(require_target_feature=<string>)` `@(enable_target_feature=<string>)`gingerBill2022-05-301-3/+5
| | | | | require_target_feature - required by the target micro-architecture enable_target_feature - will be enabled for the specified procedure only
* Add `@(priority_index=<int>)` for `foreign import`gingerBill2022-05-041-0/+1
|
* `intrinsics.atomic_type_is_lock_free`gingerBill2022-04-021-3/+3
|
* Improve procedure group selection based on the minimum number of argumentsgingerBill2022-03-181-0/+10
|
* Add `#subtype` struct field prefix, required to have a COM interface hierarchygingerBill2022-02-161-0/+5
|
* Add more objc attributesgingerBill2022-02-111-0/+23
|
* Begin work on support objc intrinsicsgingerBill2022-02-081-0/+1
|
* Add `//+private file` to complement `//+private` (`//+private package`)gingerBill2022-02-021-1/+1
|
* Parse comments on enums fieldsgingerBill2022-01-241-0/+2
|
* Update CommentGroup parsing for struct typesgingerBill2022-01-241-0/+2
|
* Allow for entity grouping in structs and procedure signatures with the Odin ↵gingerBill2022-01-191-0/+2
| | | | doc-format
* Correct `odin doc` default parameter value `init_string` generationgingerBill2021-12-031-1/+0
|
* `@(linkage=<string>)` for procedures and variables; `@(require)` for ↵gingerBill2021-11-041-0/+6
| | | | procedures; `package runtime` linkage improvements; Subsequence improvements to `lb_run_remove_unused_function_pass`
* Compile `wasm64`; Add `lb_run_remove_unused_function_pass`gingerBill2021-10-311-1/+2
|
* Add @(init) attribute for procedures, allowing for procedures to be called ↵gingerBill2021-10-031-0/+1
| | | | | | at startup These procedures will be called after global variables have been initialized as normal
* Move redundant `auto_cast` error from `-vet` to `-vet-extra`gingerBill2021-09-281-0/+1
|
* Only store `field_index` remove `field_src_index` (for the time being)gingerBill2021-09-131-8/+5
|
* Add suggestions when trying to take the address the a value from a ↵gingerBill2021-08-231-0/+3
| | | | `for`/`switch` statement
* Correct atomic usagegingerBill2021-08-191-1/+1
|
* Make `global_entity_id` atomicgingerBill2021-08-191-2/+2
|
* Fix race condition from `add_entity_use` due to Entity.identifiergingerBill2021-08-191-1/+1
|
* Make flags atomic for `Entity` and `Type`gingerBill2021-08-161-2/+2
|
* Add `#any_int` directive to replace `auto_cast` uses on parameters.gingerBill2021-08-151-3/+4
|
* Add `@(warning=<string>)`gingerBill2021-08-021-0/+1
|
* INTERNAL USE ONLY: `//+lazy` build flaggingerBill2021-07-251-2/+4
|
* Experimental support for inline swizzling for array types of len <= 4 e.g. ↵gingerBill2021-06-051-16/+17
| | | | `v.xyz`, `v.argb`, `v.xxx`
* Add `@(link_section=<string>)` for global variablesgingerBill2021-05-241-0/+1
|
* Fix #893gingerBill2021-04-271-0/+2
|
* Add `optimization_mode` attribute for proceduresgingerBill2021-04-221-0/+9
| | | | | Allowed modes: "none", "minimal", "size", "speed" Currently: none == minimal and size == speed
* Fix `override_entity_in_scope `behaviour to correctly to report the changes ↵gingerBill2021-04-191-26/+31
| | | | upstream better
* Improve `init_string` determination for constantsgingerBill2021-04-181-1/+4
|
* Add `@(cold)` attribute to procedure declarationsgingerBill2021-04-141-4/+5
|
* Change from `test_*` prefix to `@(test)` attribute for `odin test`gingerBill2021-03-141-0/+2
|
* Patch issue with minimum dependency system and how it interacts with para ↵gingerBill2021-02-261-0/+2
| | | | poly procedures
* Build tag to make all declarations within a file private to the package ↵gingerBill2021-02-231-0/+3
| | | | `//+private`
* Minimize memory usage for AST nodes by using Slice<T> rather than Array<T> ↵gingerBill2020-11-161-2/+2
| | | | when the parameter doesn't need to grow
* Begin clarifying allocation patterns by changing from `heap_allocator` to ↵gingerBill2020-11-151-1/+1
| | | | specific arenas
* Fix default parameters on record typesgingerBill2020-11-091-0/+1
|
* Fix and clean up default procedure parameter code for non-constant typesgingerBill2020-09-221-0/+2
|
* Fix rules for recursive initialization with procedure entities; Fix ↵gingerBill2020-05-301-1/+1
| | | | executable name if not given
* Let -vet ignore intentional declaration shadowing #637gingerBill2020-05-121-0/+1
|
* Add experimental atom op tables for llvm-backendgingerBill2020-05-021-0/+2
|
* Basic polymorphic named procedure parameters for procedures and recordsgingerBill2020-04-131-0/+20
|
* Change behaviour of `switch v in &value` to make `v` have by-reference semanticsgingerBill2020-03-241-1/+6
|
* Add `byval`gingerBill2020-03-121-6/+7
|
* Add `proc(#const x: Type)` to enforce a constant parameter (but not ↵gingerBill2020-02-261-0/+1
| | | | polymorphic) to a procedure
* Add `-disable-assert` to disable the code generation of the built-in ↵gingerBill2019-12-291-0/+3
| | | | run-time 'assert' procedure
* Remove addressing mode `Addressing_Immutable`gingerBill2019-12-011-8/+5
|
* `#soa[]Type` (Experimental)gingerBill2019-11-211-2/+4
|