Skip to main content

luaur_analysis/functions/
is_cacheable_normalize_alt_c.rs

1use crate::functions::is_cacheable_normalize_alt_b::is_cacheable;
2use crate::type_aliases::type_id::TypeId;
3use luaur_common::records::dense_hash_set::DenseHashSet;
4
5pub fn is_cacheable_type_id(ty: TypeId) -> bool {
6    let mut seen = DenseHashSet::new(core::ptr::null());
7    is_cacheable(ty, &mut seen)
8}