pointee_info_at: fix logic for recursing into enums
This commit is contained in:
parent
3d1dba830a
commit
35a913b968
4 changed files with 61 additions and 20 deletions
|
@ -143,7 +143,8 @@ pub struct ArgAttributes {
|
|||
pub regular: ArgAttribute,
|
||||
pub arg_ext: ArgExtension,
|
||||
/// The minimum size of the pointee, guaranteed to be valid for the duration of the whole call
|
||||
/// (corresponding to LLVM's dereferenceable and dereferenceable_or_null attributes).
|
||||
/// (corresponding to LLVM's dereferenceable_or_null attributes, i.e., it is okay for this to be
|
||||
/// set on a null pointer, but all non-null pointers must be dereferenceable).
|
||||
pub pointee_size: Size,
|
||||
pub pointee_align: Option<Align>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue