Home
last modified time | relevance | path

Searched refs:canonical_ty (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/bindgen/src/ir/
Dty.rs748 let canonical_ty = ty.canonical_type(); in from_clang_ty() localVariable
768 canonical_ty.kind() == CXType_ObjCObjectPointer; in from_clang_ty()
786 Opaque::from_clang_ty(&canonical_ty, ctx), in from_clang_ty()
802 if *ty != canonical_ty && in from_clang_ty()
803 canonical_ty.kind() != CXType_Invalid && in from_clang_ty()
817 !canonical_ty.spelling().contains("type-parameter") => in from_clang_ty()
819 debug!("Looking for canonical type: {:?}", canonical_ty); in from_clang_ty()
822 &canonical_ty, in from_clang_ty()
842 ty, location, canonical_ty in from_clang_ty()
1050 if canonical_ty == *ty { in from_clang_ty()
[all …]
Dvar.rs332 let canonical_ty = ctx in parse() localVariable
336 let is_integer = canonical_ty.map_or(false, |t| t.is_integer()); in parse()
337 let is_float = canonical_ty.map_or(false, |t| t.is_float()); in parse()
344 let kind = match *canonical_ty.unwrap().kind() { in parse()