-
Notifications
You must be signed in to change notification settings - Fork 694
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #926 - emilio:issue-888, r=fitzgen
ir: When something has a definition, return unresolved type references until we parse it. This fixes #888
- Loading branch information
Showing
15 changed files
with
250 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* automatically generated by rust-bindgen */ | ||
|
||
|
||
#![allow(dead_code, non_snake_case, non_camel_case_types, non_upper_case_globals)] | ||
|
||
|
||
#[allow(non_snake_case, non_camel_case_types, non_upper_case_globals)] | ||
pub mod root { | ||
#[allow(unused_imports)] | ||
use self::super::root; | ||
pub mod Halide { | ||
#[allow(unused_imports)] | ||
use self::super::super::root; | ||
#[repr(C)] | ||
#[derive(Debug, Default, Copy)] | ||
pub struct Type { | ||
pub _address: u8, | ||
} | ||
extern "C" { | ||
#[link_name = "_ZN6Halide4Type1bE"] | ||
pub static mut Type_b: root::a; | ||
} | ||
#[test] | ||
fn bindgen_test_layout_Type() { | ||
assert_eq!(::std::mem::size_of::<Type>() , 1usize , concat ! ( | ||
"Size of: " , stringify ! ( Type ) )); | ||
assert_eq! (::std::mem::align_of::<Type>() , 1usize , concat ! ( | ||
"Alignment of " , stringify ! ( Type ) )); | ||
} | ||
impl Clone for Type { | ||
fn clone(&self) -> Self { *self } | ||
} | ||
} | ||
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] | ||
pub enum a { } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.