mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-23 16:02:38 +00:00
Allow #no_alias on any pointer-like type
This commit is contained in:
@@ -1529,7 +1529,7 @@ gb_internal bool is_type_multi_pointer(Type *t) {
|
||||
return t->kind == Type_MultiPointer;
|
||||
}
|
||||
gb_internal bool is_type_internally_pointer_like(Type *t) {
|
||||
return is_type_pointer(t) || is_type_multi_pointer(t) || is_type_cstring(t) || is_type_proc(t);
|
||||
return is_type_pointer(t) || is_type_multi_pointer(t) || is_type_cstring(t) || is_type_cstring16(t) || is_type_proc(t);
|
||||
}
|
||||
|
||||
gb_internal bool is_type_tuple(Type *t) {
|
||||
|
||||
Reference in New Issue
Block a user