aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add `@(extra_linker_flags=<string>)`gingerBill2023-03-211-0/+1
|
* Implement `@(fini)` (opposite of `@(init)`)gingerBill2023-02-151-0/+1
|
* Remove `auto_cast` procedure field flaggingerBill2023-01-161-1/+1
| | | | Fixes #2285
* Localize `GenProcsData` to the entity itselfgingerBill2023-01-041-1/+4
|
* Remove the synchronization primitive init/destroy callsgingerBill2023-01-011-1/+0
|
* Remove dead code in the compilergingerBill2022-12-181-8/+0
|
* Even more `gb_internal` everywheregingerBill2022-12-181-26/+26
|
* 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
|