1///|
2pub extern "c" fn type Type
Type::address_space(self : type Type
Type) -> Int
Int = "illusory0x0_clang_Type_address_space"
3
4///|
5pub extern "c" fn type Type
Type::typedef_name(self : type Type
Type) -> Byte
Byte = "illusory0x0_Type_typedef_name"
6
7///|
8pub extern "c" fn type Type
Type::pointee(self : type Type
Type) -> type Type
Type = "illusory0x0_clang_Type_pointee"
9
10///|
11pub extern "c" fn type Type
Type::unqualified(self : type Type
Type) -> type Type
Type = "illusory0x0_clang_Type_unqualified"
12
13///|
14pub extern "c" fn type Type
Type::calling_conv(self : type Type
Type) -> enum CallingConv {
Default
C
X86StdCall
X86FastCall
X86ThisCall
X86Pascal
AAPCS
AAPCS_VFP
X86RegCall
IntelOclBicc
X86_64Win64
X86_64SysV
X86VectorCall
Swift
PreserveMost
PreserveAll
AArch64VectorCall
SwiftAsync
AArch64SVEPCS
M68kRTD
Invalid
CXCallingConv_Unexposed
}
CallingConv = "illusory0x0_clang_Type_calling_conv"
15
16///|
17pub extern "c" fn type Type
Type::arity(self : type Type
Type) -> Int
Int = "illusory0x0_clang_Type_arity"
18
19///|
20pub extern "c" fn type Type
Type::argument(self : type Type
Type, index : Int
Int) -> type Type
Type = "illusory0x0_clang_Type_argument"
21
22///|
23pub extern "c" fn type Type
Type::result(self : type Type
Type) -> type Type
Type = "illusory0x0_clang_Type_result"
24
25///|
26/// Return the size of a type in **bytes**
27pub extern "c" fn type Type
Type::sizeof(self : type Type
Type) -> Int64
Int64 = "illusory0x0_clang_Type_sizeof"
28
29///|
30/// Return the offset of a field named S in a record of type T in **bits**
31pub extern "c" fn type Type
Type::offsetof(self : type Type
Type, member_ : Bytes
Bytes) -> Int64
Int64 = "illusory0x0_clang_Type_offsetof"
32
33///|
34pub extern "c" fn type Type
Type::is_const_qualified(self : type Type
Type) -> Bool
Bool = "illusory0x0_clang_Type_is_const_qualified"
35
36///|
37pub extern "c" fn type Type
Type::is_volatile_qualified(self : type Type
Type) -> Bool
Bool = "illusory0x0_clang_Type_is_volatile_qualified"
38
39///|
40pub extern "c" fn type Type
Type::is_restrict_qualified(self : type Type
Type) -> Bool
Bool = "illusory0x0_clang_Type_is_restrict_qualified"
41
42///|
43fn type Type
Type::(self : Type) -> Type
desugar(Type
self : type Type
Type) -> type Type
Type {
44 Type
self.(self : Type) -> Type
canonical()
45}
46
47///|
48pub extern "c" fn type Type
Type::canonical(self : type Type
Type) -> type Type
Type = "illsuory0x0_clang_Type_canonical"
49
50///|
51pub extern "c" fn type Type
Type::spelling(self : type Type
Type) -> Bytes
Bytes = "illusory0x0_clang_Type_spelling"
52
53///| TODO: use pattern match implemented String version
54pub extern "c" fn type Type
Type::kind_spelling(k : TypeKind) -> Bytes
Bytes = "illusory0x0_clang_Type_kind_spelling"
55
56///|
57pub extern "c" fn type Type
Type::kind(self : type Type
Type) -> TypeKind = "illusory0x0_clang_Type_kind"
58
59///|
60pub extern "c" fn type Type
Type::type_declaration(self : type Type
Type) -> type Cursor
Cursor = "illusory0x0_clang_Type_type_declaration"
61