index
:
odin/Odin.git
bill/all_or_none
bill/any-type-switch-if-else
bill/change-license
bill/compiler-optimizations-2025-09
bill/conditional-zero
bill/const-union
bill/dir-organization
bill/disallow-128-bit
bill/fix-current-os-package
bill/fix-data-races-2026-02
bill/force-type-assert
bill/global-variable-distribution
bill/init-fini-changes
bill/integer-concatenation
bill/io-error-changes
bill/must-tail
bill/new-slice-sort
bill/range-init
bill/remove-test-suffix
bill/shared-partial-return-memory
bill/subtype-type-info
bill/typeid-sip-hash
bill/utf16-strings
core-flags
core_os2_revamp
custom-math-sin
fix-4225
llvm-12-support
master
middle-end
mimalloc
mv/libc-errors
new_os
orca-dev
text-template
update-tilde
windows-llvm-11.1.0
windows-llvm-12.0.1
windows-llvm-13.0.0
Odin Programming Language
Odin Lang
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
check_expr.cpp
Commit message (
Collapse
)
Author
Age
Files
Lines
...
*
Disallow unnamed polymorphic records
gingerBill
2021-04-29
1
-0
/
+31
|
*
Fix #893
gingerBill
2021-04-27
1
-2
/
+3
|
*
Remove warning for "Redundant 'auto_cast' applied to expression"
gingerBill
2021-04-26
1
-1
/
+1
|
*
Remove `use_llvm_api` related checks and other related things
gingerBill
2021-04-25
1
-4
/
+0
|
*
Remove old procedure ABI code
gingerBill
2021-04-25
1
-8
/
+0
|
*
Move `check_builtin_procedure` to check_builtin.cpp
gingerBill
2021-04-23
1
-2805
/
+1
|
*
Warn on redundant `auto_cast`, and make an error on `-vet`
gingerBill
2021-04-22
1
-0
/
+9
|
*
Add intrinsics: overflow_add, overflow_sub, overflow_mul; Change byte swap ↵
gingerBill
2021-04-22
1
-19
/
+96
|
|
|
|
behaviour in -llvm-api to be the same as the intrinsic
*
Add intrinsics: byte_swap (integers and floats); count_ones; trailing_zeros; ↵
gingerBill
2021-04-22
1
-3
/
+37
|
|
|
|
reverse_bits
*
Remove `intrinsics.x86_mmx` type
gingerBill
2021-04-22
1
-3
/
+0
|
*
Add new intrinsics: debug_trap, trap, read_cycle_counter, expect
gingerBill
2021-04-22
1
-1
/
+66
|
*
Remove useless error message for constant binary expressions with ↵
gingerBill
2021-04-21
1
-15
/
+11
|
|
|
|
non-constant operations
*
Fix typo
gingerBill
2021-04-19
1
-1
/
+1
|
*
Add code that was accidentally removed
gingerBill
2021-04-19
1
-0
/
+2
|
*
Improve `#optional_ok` logic for procedures; Add `#optional_second` for ↵
gingerBill
2021-04-19
1
-99
/
+111
|
|
|
|
`package runtime` usage
*
Allow assignment of procedure calls with `#optional_ok` to single values
gingerBill
2021-04-19
1
-9
/
+23
|
*
Allow casting of `#optional_ok` call expressions
gingerBill
2021-04-19
1
-1
/
+22
|
*
Fix `update_expr_type` behaviour, along with fixing procedure groups ↵
gingerBill
2021-04-19
1
-10
/
+48
|
|
|
|
updating the proc expr type
*
Fix `override_entity_in_scope `behaviour to correctly to report the changes ↵
gingerBill
2021-04-19
1
-3
/
+0
|
|
|
|
upstream better
*
Add `@(cold)` attribute to procedure declarations
gingerBill
2021-04-14
1
-15
/
+15
|
*
Allow `intrinsics` entities to be exported from other packages if wanted
gingerBill
2021-04-13
1
-1
/
+1
|
*
Implement fixed-point arithmetic intrinsics for -llvm-api backend
gingerBill
2021-04-01
1
-0
/
+71
|
*
Fix missing complex32/quaternion64 checks
gingerBill
2021-04-01
1
-0
/
+2
|
*
Add min(f16) and max(f16) support
gingerBill
2021-04-01
1
-0
/
+6
|
*
Implement `f16` functionality
gingerBill
2021-04-01
1
-3
/
+23
|
*
Refactor record polymorphic params code for unification
gingerBill
2021-03-27
1
-1
/
+2
|
*
Fix #883 - polymorphic specialization with target types of enumerated arrays
gingerBill
2021-03-27
1
-0
/
+60
|
*
Implement `soa_unzip`
gingerBill
2021-03-24
1
-0
/
+34
|
*
Add type hinting to `soa_zip`
gingerBill
2021-03-24
1
-6
/
+49
|
*
`soa_zip` (-llvm-api only): creates an `#soa[]struct` from passed slices
gingerBill
2021-03-24
1
-2
/
+114
|
|
|
|
|
|
|
|
|
|
|
|
x := []i32{1, 3, 9}; y := []f32{2, 4, 16}; z := []b32{true, false, true}; s_anonymous := soa_zip(x, y, z); assert(s_anonymous[0]._1 == 2); s_named := soa_zip(a=x, b=y, c=z); assert(s_anonymous[0].b == 2);
*
For `bit_set`, allow `+` and `-` to be aliases for `|` and `&~`, respectively
gingerBill
2021-03-23
1
-2
/
+15
|
*
Remove dead code
gingerBill
2021-03-23
1
-75
/
+0
|
*
Add `intrinsics.volatile_store` and `intrinsics.volatile_load`
gingerBill
2021-03-09
1
-0
/
+8
|
*
Minimize TokenPos size by using `i32` for line/column/offset and file_id ↵
gingerBill
2021-03-04
1
-5
/
+4
|
|
|
|
|
|
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)
*
Add `-vet-extra` (checks for unneeded casts and transmutes)
gingerBill
2021-03-03
1
-0
/
+16
|
*
Fix Addressing for SOA on store; Add intrinsics.type_struct_field_count(T)
gingerBill
2021-03-01
1
-0
/
+14
|
*
Fix patch (yeah... I know)
gingerBill
2021-02-26
1
-28
/
+8
|
*
Patch issue with minimum dependency system and how it interacts with para ↵
gingerBill
2021-02-26
1
-11
/
+58
|
|
|
|
poly procedures
*
Build tag to make all declarations within a file private to the package ↵
gingerBill
2021-02-23
1
-3
/
+4
|
|
|
|
`//+private`
*
Remove `#opaque` types
gingerBill
2021-02-23
1
-22
/
+0
|
*
Remove `bit_field` keyword and parsing logic
gingerBill
2021-02-23
1
-16
/
+0
|
*
Remove `"pure"` and `"pure_none"` calling conventions
gingerBill
2021-02-23
1
-23
/
+6
|
*
Remove `bit_field` type from Odin (keyword and dead runtime code still exists)
gingerBill
2021-02-19
1
-68
/
+0
|
*
Fix #831
gingerBill
2021-01-27
1
-0
/
+51
|
*
Allow `check_expr_with_type_hint` to allow assignment of types to typeid ↵
gingerBill
2020-12-17
1
-1
/
+3
|
|
|
|
without requiring `typeid_of`
*
Fix #811
gingerBill
2020-12-14
1
-1
/
+3
|
*
If `ir_type_requires_mem_zero` is stored with zero, don't store again with ↵
gingerBill
2020-12-08
1
-0
/
+65
|
|
|
|
the `zeroinitializer`
*
Allow nested procedures to access `@(static)` and `@(thread_local)` variables
gingerBill
2020-12-04
1
-2
/
+4
|
*
Change ExactValue layout for complex/quaternion types to minimize its size
gingerBill
2020-12-03
1
-10
/
+10
|
*
Disable `lb_const_hash` for the time being
gingerBill
2020-12-02
1
-0
/
+1
|
[prev]
[next]