aboutsummaryrefslogtreecommitdiff
path: root/src/check_decl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove a few `TODO`sgingerBill2022-12-221-8/+0
|
* Remove dead code in the compilergingerBill2022-12-181-10/+0
|
* Add `gb_internal` to checkergingerBill2022-12-181-22/+22
|
* Replace compiler for loops for the hash-table types to simplify code usagegingerBill2022-12-091-6/+6
|
* Naïve optimization of named _split_ multiple return valued when `defer` is ↵gingerBill2022-11-251-0/+5
| | | | | | | | | | never used This is a naïve optimization but it helps a lot in the general case where callee temporary stack variables are not allocated to represent the named return values by using that specific memory. In the future, try to check if a specific named return value is ever used a `defer` within a procedure or not, or is ever passed to a nested procedure call (e.g. possibly escapes).
* Improve error messages with 'using _'Lucas Perlind2022-10-151-0/+5
|
* Add `#soa` pointer type to aid with refactoring to `#soa` data typesgingerBill2022-08-081-1/+1
| | | | | | | | a: #soa[16]Foo p := &a[6] #assert(type_of(p) == #soa^#soa[16]Foo) p^.x = 123 p.x = 123
* Correct `@(require_results)` on parapoly proceduresgingerBill2022-05-301-4/+6
|
* `@(require_target_feature=<string>)` `@(enable_target_feature=<string>)`gingerBill2022-05-301-0/+12
| | | | | require_target_feature - required by the target micro-architecture enable_target_feature - will be enabled for the specified procedure only
* Add `simd_to_bits`; correct fix typo causing issue with parapolygingerBill2022-05-261-4/+4
|
* Make `#simd` an opaque typegingerBill2022-05-251-7/+13
|
* Correct `foreign import` prefix behaviour for wasmgingerBill2022-05-061-11/+9
|
* Add `intrinsics.wasm_memory_grow` `intrinsics.wasm_memory_size`gingerBill2022-03-301-1/+3
|
* Fix `#1609`gingerBill2022-03-141-0/+6
|
* Disallow `@(thread_local)` on wasm targetsgingerBill2022-02-281-0/+4
|
* Commit rest of code for `-disallow-rtti`gingerBill2022-02-281-0/+2
|
* Show error message when something like this is done `test: proc() : {}`gingerBill2022-02-281-0/+4
|
* Change objc_class_name to objc_name with objc_is_class_methodgingerBill2022-02-141-13/+11
|
* Add more objc attributesgingerBill2022-02-111-0/+63
|
* Begin work on support objc intrinsicsgingerBill2022-02-081-0/+3
|
* Change behaviour of `A :: distinct Enum_Type` to be more intuitivegingerBill2022-02-051-1/+50
|
* Only check idents in the alias (of alias)+ problemgingerBill2022-02-041-1/+1
|
* Correct the type aliasing problem, caused by aliases (of aliases)+gingerBill2022-02-041-0/+1
|
* Fix type alias declaration evaluation problem (#854 #1439)gingerBill2022-02-031-1/+38
|
* Begin work to move entry point code to Odin itself rather than in C++ sidegingerBill2022-01-121-16/+20
|
* Disable `DEFAULT_TO_THREADED_CHECKER` until race condition is foundgingerBill2022-01-111-5/+4
|
* Add mutex guards for signature scopesgingerBill2022-01-101-1/+1
|
* Remove `scope` field from `Ast`gingerBill2021-11-141-3/+0
|
* `@(linkage=<string>)` for procedures and variables; `@(require)` for ↵gingerBill2021-11-041-1/+17
| | | | procedures; `package runtime` linkage improvements; Subsequence improvements to `lb_run_remove_unused_function_pass`
* Correct assertion usagegingerBill2021-11-031-2/+3
|
* Improve `wasm-import` semantics to allow procedures from different import pathsgingerBill2021-11-021-4/+25
|
* Compile `wasm64`; Add `lb_run_remove_unused_function_pass`gingerBill2021-10-311-0/+8
|
* Add @(init) attribute for procedures, allowing for procedures to be called ↵gingerBill2021-10-031-0/+3
| | | | | | at startup These procedures will be called after global variables have been initialized as normal
* Correct procedure checking flag handling, and correct the (bodge) handle of ↵gingerBill2021-08-231-1/+15
| | | | unchecked procedure bodies
* Update `signature_parameter_similar_enough` for multi pointersgingerBill2021-08-221-2/+14
|
* Fix race condition from `add_entity_use` due to Entity.identifiergingerBill2021-08-191-6/+6
|
* Remove unused codegingerBill2021-08-191-2/+1
|
* Add mutex to Scope lookups and insertionsgingerBill2021-08-181-0/+2
|
* Reallow `using` on enum declarations temporarily but with a warning.gingerBill2021-08-051-1/+1
|
* Disallow `using` on an enum declaration.gingerBill2021-08-051-0/+3
|
* Add sanity checks to checkerdev-2021-08gingerBill2021-08-021-3/+0
|
* Add `@(warning=<string>)`gingerBill2021-08-021-0/+1
|
* Define which mutexes are blocking and recursive explicitlygingerBill2021-07-271-2/+2
|
* INTERNAL USE ONLY: `//+lazy` build flaggingerBill2021-07-251-53/+48
|
* Remove dead codegingerBill2021-07-151-4/+0
|
* Replace non-recursive mutexes with `BlockingMutex`; Minor improves to ↵gingerBill2021-07-141-6/+6
| | | | initialization improves
* Reduce mutex usage and convert things to queues from arraysgingerBill2021-07-131-3/+1
|
* Big improvement to the `-threaded-checker` code, unifying the logic and ↵gingerBill2021-07-131-2/+1
| | | | simplify behaviour
* Add experimental support for a threaded semantic checker to `-threaded-checker`gingerBill2021-07-101-1/+2
|
* Move things around for sanity checking for multithread preparationgingerBill2021-07-101-3/+15
|