You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
4215 lines
101 KiB
4215 lines
101 KiB
<"TranslationUnitDecl" : (
|
|
{
|
|
"pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 2,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "__int128_t",
|
|
"qual_name" : [
|
|
"__int128_t"
|
|
]
|
|
},
|
|
0,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 3,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "__uint128_t",
|
|
"qual_name" : [
|
|
"__uint128_t"
|
|
]
|
|
},
|
|
0,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 4,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true,
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "SEL",
|
|
"qual_name" : [
|
|
"SEL"
|
|
]
|
|
},
|
|
5,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 6,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true,
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "id",
|
|
"qual_name" : [
|
|
"id"
|
|
]
|
|
},
|
|
7,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 8,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true,
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "Class",
|
|
"qual_name" : [
|
|
"Class"
|
|
]
|
|
},
|
|
9,
|
|
{
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 10,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "Protocol",
|
|
"qual_name" : [
|
|
"Protocol"
|
|
]
|
|
},
|
|
[
|
|
],
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 11,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "__NSConstantString",
|
|
"qual_name" : [
|
|
"__NSConstantString"
|
|
]
|
|
},
|
|
0,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 12,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "__builtin_ms_va_list",
|
|
"qual_name" : [
|
|
"__builtin_ms_va_list"
|
|
]
|
|
},
|
|
0,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 13,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "__builtin_va_list",
|
|
"qual_name" : [
|
|
"__builtin_va_list"
|
|
]
|
|
},
|
|
0,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 14,
|
|
"source_range" : (
|
|
{
|
|
"file" : "tests/FoundationStub.h",
|
|
"line" : 8,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 13
|
|
}
|
|
),
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "BOOL",
|
|
"qual_name" : [
|
|
"BOOL"
|
|
]
|
|
},
|
|
15,
|
|
{
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 16,
|
|
"source_range" : (
|
|
{
|
|
"line" : 9,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 22
|
|
}
|
|
),
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "NSUInteger",
|
|
"qual_name" : [
|
|
"NSUInteger"
|
|
]
|
|
},
|
|
17,
|
|
{
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 18,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 16,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 27,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 19,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 18,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 22
|
|
}
|
|
),
|
|
"attributes" : [
|
|
<"NSReturnsRetainedAttr" : (
|
|
{
|
|
"pointer" : 20,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "alloc",
|
|
"qual_name" : [
|
|
"alloc",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 22,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 9,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 23,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "+[NSObject alloc]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 24,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 19,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 20
|
|
}
|
|
),
|
|
"attributes" : [
|
|
<"NSReturnsRetainedAttr" : (
|
|
{
|
|
"pointer" : 25,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "new",
|
|
"qual_name" : [
|
|
"new",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 26,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 9,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 27,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "+[NSObject new]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 28,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 20,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 28
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "autorelease",
|
|
"qual_name" : [
|
|
"autorelease",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 29,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 30,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 31,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSObject autorelease]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 32,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 21,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 21
|
|
}
|
|
),
|
|
"attributes" : [
|
|
<"NSConsumesSelfAttr" : (
|
|
{
|
|
"pointer" : 33,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>,
|
|
<"NSReturnsRetainedAttr" : (
|
|
{
|
|
"pointer" : 34,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "init",
|
|
"qual_name" : [
|
|
"init",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 35,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true,
|
|
"attributes" : [
|
|
<"NSConsumedAttr" : (
|
|
{
|
|
"pointer" : 36,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 30
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 37,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSObject init]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 38,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 22,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 15
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "class",
|
|
"qual_name" : [
|
|
"class",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 9
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 39,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 30,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 40,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSObject class]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 41,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 24,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 34
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "respondsToSelector:",
|
|
"qual_name" : [
|
|
"respondsToSelector:",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 15
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 42,
|
|
"source_range" : (
|
|
{
|
|
"column" : 29
|
|
},
|
|
{
|
|
"column" : 33
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "s",
|
|
"qual_name" : [
|
|
"s"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 43,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 30,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 44,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSObject respondsToSelector:]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 45,
|
|
"parent_pointer" : 18,
|
|
"source_range" : (
|
|
{
|
|
"line" : 25,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 41
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "conformsToProtocol:",
|
|
"qual_name" : [
|
|
"conformsToProtocol:",
|
|
"NSObject"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 15
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 46,
|
|
"source_range" : (
|
|
{
|
|
"column" : 29
|
|
},
|
|
{
|
|
"column" : 40
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "p",
|
|
"qual_name" : [
|
|
"p"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 47
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 48,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 30,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 49,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSObject conformsToProtocol:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 50,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 29,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 31,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSNumber",
|
|
"qual_name" : [
|
|
"NSNumber"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 51,
|
|
"parent_pointer" : 50,
|
|
"source_range" : (
|
|
{
|
|
"line" : 30,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 37
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "numberWithInt:",
|
|
"qual_name" : [
|
|
"numberWithInt:",
|
|
"NSNumber"
|
|
]
|
|
},
|
|
{
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 52,
|
|
"source_range" : (
|
|
{
|
|
"column" : 32
|
|
},
|
|
{
|
|
"column" : 36
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "x",
|
|
"qual_name" : [
|
|
"x"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 54,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 9,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 55,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "+[NSNumber numberWithInt:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 56,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 33,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 35,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSString",
|
|
"qual_name" : [
|
|
"NSString"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 57,
|
|
"parent_pointer" : 56,
|
|
"source_range" : (
|
|
{
|
|
"line" : 34,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 21
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "length",
|
|
"qual_name" : [
|
|
"length",
|
|
"NSString"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 17
|
|
},
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 58,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 59,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 60,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSString length]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 61,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 37,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 42,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSDictionary",
|
|
"qual_name" : [
|
|
"NSDictionary"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 62,
|
|
"parent_pointer" : 61,
|
|
"source_range" : (
|
|
{
|
|
"line" : 38,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 40,
|
|
"column" : 56
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "dictionaryWithObjects:forKeys:count:",
|
|
"qual_name" : [
|
|
"dictionaryWithObjects:forKeys:count:",
|
|
"NSDictionary"
|
|
]
|
|
},
|
|
{
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 63,
|
|
"source_range" : (
|
|
{
|
|
"line" : 38,
|
|
"column" : 46
|
|
},
|
|
{
|
|
"column" : 51
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "objects",
|
|
"qual_name" : [
|
|
"objects"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 64
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>,
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 65,
|
|
"source_range" : (
|
|
{
|
|
"line" : 39,
|
|
"column" : 46
|
|
},
|
|
{
|
|
"column" : 51
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "keys",
|
|
"qual_name" : [
|
|
"keys"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 64
|
|
},
|
|
{
|
|
"parm_index_in_function" : 1
|
|
}
|
|
)>,
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 66,
|
|
"source_range" : (
|
|
{
|
|
"line" : 40,
|
|
"column" : 40
|
|
},
|
|
{
|
|
"column" : 51
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "count",
|
|
"qual_name" : [
|
|
"count"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 17
|
|
},
|
|
{
|
|
"parm_index_in_function" : 2
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 67,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 9,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 68,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "+[NSDictionary dictionaryWithObjects:forKeys:count:]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 69,
|
|
"parent_pointer" : 61,
|
|
"source_range" : (
|
|
{
|
|
"line" : 41,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 38
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "objectForKeyedSubscript:",
|
|
"qual_name" : [
|
|
"objectForKeyedSubscript:",
|
|
"NSDictionary"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 7
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 70,
|
|
"source_range" : (
|
|
{
|
|
"column" : 32
|
|
},
|
|
{
|
|
"column" : 35
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "key",
|
|
"qual_name" : [
|
|
"key"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 7
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 71,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 72,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 73,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSDictionary objectForKeyedSubscript:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 74,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 44,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 47,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSArray",
|
|
"qual_name" : [
|
|
"NSArray"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 75,
|
|
"parent_pointer" : 74,
|
|
"source_range" : (
|
|
{
|
|
"line" : 45,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 64
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "arrayWithObjects:count:",
|
|
"qual_name" : [
|
|
"arrayWithObjects:count:",
|
|
"NSArray"
|
|
]
|
|
},
|
|
{
|
|
"result_type" : {
|
|
"type_ptr" : 21
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 76,
|
|
"source_range" : (
|
|
{
|
|
"column" : 35
|
|
},
|
|
{
|
|
"column" : 40
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "objs",
|
|
"qual_name" : [
|
|
"objs"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 77
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>,
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 78,
|
|
"source_range" : (
|
|
{
|
|
"column" : 52
|
|
},
|
|
{
|
|
"column" : 61
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "cnt",
|
|
"qual_name" : [
|
|
"cnt"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 79
|
|
},
|
|
{
|
|
"parm_index_in_function" : 1
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 80,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 9,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 81,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "+[NSArray arrayWithObjects:count:]"
|
|
}
|
|
)>,
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 82,
|
|
"parent_pointer" : 74,
|
|
"source_range" : (
|
|
{
|
|
"line" : 46,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 49
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "objectAtIndexedSubscript:",
|
|
"qual_name" : [
|
|
"objectAtIndexedSubscript:",
|
|
"NSArray"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 7
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 83,
|
|
"source_range" : (
|
|
{
|
|
"column" : 33
|
|
},
|
|
{
|
|
"column" : 44
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "index",
|
|
"qual_name" : [
|
|
"index"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 17
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 84,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 85,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 86,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[NSArray objectAtIndexedSubscript:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 87,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 49,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 50,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "NSException",
|
|
"qual_name" : [
|
|
"NSException"
|
|
]
|
|
},
|
|
[
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"FunctionDecl" : (
|
|
{
|
|
"pointer" : 88,
|
|
"source_range" : (
|
|
{
|
|
"line" : 52,
|
|
"column" : 13
|
|
},
|
|
{
|
|
"column" : 13
|
|
}
|
|
),
|
|
"is_implicit" : true,
|
|
"is_used" : true,
|
|
"attributes" : [
|
|
<"BuiltinAttr" : (
|
|
{
|
|
"pointer" : 89,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>,
|
|
<"FormatAttr" : (
|
|
{
|
|
"pointer" : 90,
|
|
"source_range" : (
|
|
{
|
|
"column" : 13
|
|
},
|
|
{
|
|
"column" : 13
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "NSLog",
|
|
"qual_name" : [
|
|
"NSLog"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 91
|
|
},
|
|
{
|
|
"is_variadic" : true,
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 92,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "",
|
|
"qual_name" : [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 7
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
]
|
|
}
|
|
)>,
|
|
<"FunctionDecl" : (
|
|
{
|
|
"pointer" : 93,
|
|
"source_range" : (
|
|
{
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 34
|
|
}
|
|
),
|
|
"is_used" : true,
|
|
"is_this_declaration_referenced" : true,
|
|
"attributes" : [
|
|
<"BuiltinAttr" : (
|
|
{
|
|
"pointer" : 94,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
}
|
|
)>,
|
|
<"FormatAttr" : (
|
|
{
|
|
"pointer" : 95,
|
|
"source_range" : (
|
|
{
|
|
"column" : 13
|
|
},
|
|
{
|
|
"column" : 13
|
|
}
|
|
)
|
|
}
|
|
)>
|
|
]
|
|
},
|
|
{
|
|
"name" : "NSLog",
|
|
"qual_name" : [
|
|
"NSLog"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 91
|
|
},
|
|
{
|
|
"is_variadic" : true,
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 96,
|
|
"source_range" : (
|
|
{
|
|
"column" : 19
|
|
},
|
|
{
|
|
"column" : 28
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "",
|
|
"qual_name" : [
|
|
""
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 59
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
]
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceDecl" : (
|
|
{
|
|
"pointer" : 97,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"file" : "tests/Hello.m",
|
|
"line" : 10,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 12,
|
|
"column" : 2
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "Hello",
|
|
"qual_name" : [
|
|
"Hello"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 98,
|
|
"parent_pointer" : 97,
|
|
"source_range" : (
|
|
{
|
|
"line" : 11,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"column" : 19
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "say:",
|
|
"qual_name" : [
|
|
"say:",
|
|
"Hello"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 99
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 100,
|
|
"source_range" : (
|
|
{
|
|
"column" : 14
|
|
},
|
|
{
|
|
"column" : 18
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 101,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 102,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 103,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"mangled_name" : "-[Hello say:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"super" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 18,
|
|
"name" : {
|
|
"name" : "NSObject",
|
|
"qual_name" : [
|
|
"NSObject"
|
|
]
|
|
}
|
|
},
|
|
"implementation" : {
|
|
"kind" : <"ObjCImplementation">,
|
|
"decl_pointer" : 104,
|
|
"name" : {
|
|
"name" : "Hello",
|
|
"qual_name" : [
|
|
"Hello"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"ObjCImplementationDecl" : (
|
|
{
|
|
"pointer" : 104,
|
|
"parent_pointer" : 1,
|
|
"source_range" : (
|
|
{
|
|
"line" : 14,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 20,
|
|
"column" : 1
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "Hello",
|
|
"qual_name" : [
|
|
"Hello"
|
|
]
|
|
},
|
|
[
|
|
<"ObjCMethodDecl" : (
|
|
{
|
|
"pointer" : 105,
|
|
"parent_pointer" : 104,
|
|
"source_range" : (
|
|
{
|
|
"line" : 15,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 19,
|
|
"column" : 1
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "say:",
|
|
"qual_name" : [
|
|
"say:",
|
|
"Hello"
|
|
]
|
|
},
|
|
{
|
|
"is_instance_method" : true,
|
|
"result_type" : {
|
|
"type_ptr" : 99
|
|
},
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 106,
|
|
"source_range" : (
|
|
{
|
|
"line" : 15,
|
|
"column" : 14
|
|
},
|
|
{
|
|
"column" : 18
|
|
}
|
|
),
|
|
"is_used" : true,
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>
|
|
],
|
|
"implicit_parameters" : [
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 107,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "self",
|
|
"qual_name" : [
|
|
"self"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 102,
|
|
"is_const" : true
|
|
},
|
|
{
|
|
}
|
|
)>,
|
|
<"ImplicitParamDecl" : (
|
|
{
|
|
"pointer" : 108,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "_cmd",
|
|
"qual_name" : [
|
|
"_cmd"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 5
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
"body" : <"CompoundStmt" : (
|
|
{
|
|
"pointer" : 109,
|
|
"source_range" : (
|
|
{
|
|
"column" : 20
|
|
},
|
|
{
|
|
"line" : 19,
|
|
"column" : 1
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"IfStmt" : (
|
|
{
|
|
"pointer" : 110,
|
|
"source_range" : (
|
|
{
|
|
"line" : 16,
|
|
"column" : 3
|
|
},
|
|
{
|
|
"line" : 18,
|
|
"column" : 3
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"BinaryOperator" : (
|
|
{
|
|
"pointer" : 111,
|
|
"source_range" : (
|
|
{
|
|
"line" : 16,
|
|
"column" : 7
|
|
},
|
|
{
|
|
"column" : 11
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 112,
|
|
"source_range" : (
|
|
{
|
|
"column" : 7
|
|
},
|
|
{
|
|
"column" : 7
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 113,
|
|
"source_range" : (
|
|
{
|
|
"column" : 7
|
|
},
|
|
{
|
|
"column" : 7
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"ParmVar">,
|
|
"decl_pointer" : 106,
|
|
"name" : {
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"LValueToRValue">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>,
|
|
<"IntegerLiteral" : (
|
|
{
|
|
"pointer" : 114,
|
|
"source_range" : (
|
|
{
|
|
"column" : 11
|
|
},
|
|
{
|
|
"column" : 11
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"is_signed" : true,
|
|
"bitwidth" : 32,
|
|
"value" : "0"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"kind" : <"GT">
|
|
}
|
|
)>,
|
|
<"CompoundStmt" : (
|
|
{
|
|
"pointer" : 115,
|
|
"source_range" : (
|
|
{
|
|
"column" : 14
|
|
},
|
|
{
|
|
"line" : 18,
|
|
"column" : 3
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"CallExpr" : (
|
|
{
|
|
"pointer" : 116,
|
|
"source_range" : (
|
|
{
|
|
"line" : 17,
|
|
"column" : 5
|
|
},
|
|
{
|
|
"column" : 35
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 117,
|
|
"source_range" : (
|
|
{
|
|
"column" : 5
|
|
},
|
|
{
|
|
"column" : 5
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 118,
|
|
"source_range" : (
|
|
{
|
|
"column" : 5
|
|
},
|
|
{
|
|
"column" : 5
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 91
|
|
}
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"Function">,
|
|
"decl_pointer" : 93,
|
|
"name" : {
|
|
"name" : "NSLog",
|
|
"qual_name" : [
|
|
"NSLog"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 91
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 119
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"FunctionToPointerDecay">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>,
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 120,
|
|
"source_range" : (
|
|
{
|
|
"column" : 11
|
|
},
|
|
{
|
|
"column" : 12
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ObjCStringLiteral" : (
|
|
{
|
|
"pointer" : 121,
|
|
"source_range" : (
|
|
{
|
|
"column" : 11
|
|
},
|
|
{
|
|
"column" : 12
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"StringLiteral" : (
|
|
{
|
|
"pointer" : 122,
|
|
"source_range" : (
|
|
{
|
|
"column" : 12
|
|
},
|
|
{
|
|
"column" : 12
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 123
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
[
|
|
"Hello, world! (%d)"
|
|
]
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 59
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 7
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"BitCast">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>,
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 124,
|
|
"source_range" : (
|
|
{
|
|
"column" : 34
|
|
},
|
|
{
|
|
"column" : 34
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 125,
|
|
"source_range" : (
|
|
{
|
|
"column" : 34
|
|
},
|
|
{
|
|
"column" : 34
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"ParmVar">,
|
|
"decl_pointer" : 106,
|
|
"name" : {
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"LValueToRValue">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
}
|
|
)>
|
|
]
|
|
)>
|
|
],
|
|
{
|
|
"cond" : 111,
|
|
"then" : 115
|
|
}
|
|
)>
|
|
]
|
|
)>,
|
|
"mangled_name" : "-[Hello say:]"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"class_interface" : {
|
|
"kind" : <"ObjCInterface">,
|
|
"decl_pointer" : 97,
|
|
"name" : {
|
|
"name" : "Hello",
|
|
"qual_name" : [
|
|
"Hello"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
)>,
|
|
<"FunctionDecl" : (
|
|
{
|
|
"pointer" : 126,
|
|
"source_range" : (
|
|
{
|
|
"line" : 22,
|
|
"column" : 1
|
|
},
|
|
{
|
|
"line" : 29,
|
|
"column" : 1
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "main",
|
|
"qual_name" : [
|
|
"main"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 127
|
|
},
|
|
{
|
|
"parameters" : [
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 128,
|
|
"source_range" : (
|
|
{
|
|
"line" : 22,
|
|
"column" : 10
|
|
},
|
|
{
|
|
"column" : 14
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "argc",
|
|
"qual_name" : [
|
|
"argc"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"parm_index_in_function" : 0
|
|
}
|
|
)>,
|
|
<"ParmVarDecl" : (
|
|
{
|
|
"pointer" : 129,
|
|
"source_range" : (
|
|
{
|
|
"column" : 20
|
|
},
|
|
{
|
|
"column" : 31
|
|
}
|
|
)
|
|
},
|
|
{
|
|
"name" : "argv",
|
|
"qual_name" : [
|
|
"argv"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 130
|
|
},
|
|
{
|
|
"parm_index_in_function" : 1
|
|
}
|
|
)>
|
|
],
|
|
"decl_ptr_with_body" : 126,
|
|
"body" : <"CompoundStmt" : (
|
|
{
|
|
"pointer" : 131,
|
|
"source_range" : (
|
|
{
|
|
"column" : 34
|
|
},
|
|
{
|
|
"line" : 29,
|
|
"column" : 1
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ForStmt" : (
|
|
{
|
|
"pointer" : 132,
|
|
"source_range" : (
|
|
{
|
|
"line" : 23,
|
|
"column" : 3
|
|
},
|
|
{
|
|
"line" : 27,
|
|
"column" : 3
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclStmt" : (
|
|
{
|
|
"pointer" : 133,
|
|
"source_range" : (
|
|
{
|
|
"line" : 23,
|
|
"column" : 8
|
|
},
|
|
{
|
|
"column" : 17
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"IntegerLiteral" : (
|
|
{
|
|
"pointer" : 134,
|
|
"source_range" : (
|
|
{
|
|
"column" : 16
|
|
},
|
|
{
|
|
"column" : 16
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"is_signed" : true,
|
|
"bitwidth" : 32,
|
|
"value" : "0"
|
|
}
|
|
)>
|
|
],
|
|
[
|
|
<"VarDecl" : (
|
|
{
|
|
"pointer" : 135,
|
|
"source_range" : (
|
|
{
|
|
"column" : 8
|
|
},
|
|
{
|
|
"column" : 16
|
|
}
|
|
),
|
|
"is_used" : true,
|
|
"is_this_declaration_referenced" : true
|
|
},
|
|
{
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"init_expr" : <"IntegerLiteral" : (
|
|
{
|
|
"pointer" : 134,
|
|
"source_range" : (
|
|
{
|
|
"column" : 16
|
|
},
|
|
{
|
|
"column" : 16
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"is_signed" : true,
|
|
"bitwidth" : 32,
|
|
"value" : "0"
|
|
}
|
|
)>
|
|
}
|
|
)>
|
|
]
|
|
)>,
|
|
<"NullStmt" : (
|
|
{
|
|
"pointer" : 136,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
)
|
|
},
|
|
[
|
|
]
|
|
)>,
|
|
<"BinaryOperator" : (
|
|
{
|
|
"pointer" : 137,
|
|
"source_range" : (
|
|
{
|
|
"column" : 19
|
|
},
|
|
{
|
|
"column" : 23
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 138,
|
|
"source_range" : (
|
|
{
|
|
"column" : 19
|
|
},
|
|
{
|
|
"column" : 19
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 139,
|
|
"source_range" : (
|
|
{
|
|
"column" : 19
|
|
},
|
|
{
|
|
"column" : 19
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"Var">,
|
|
"decl_pointer" : 135,
|
|
"name" : {
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"LValueToRValue">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>,
|
|
<"IntegerLiteral" : (
|
|
{
|
|
"pointer" : 140,
|
|
"source_range" : (
|
|
{
|
|
"column" : 23
|
|
},
|
|
{
|
|
"column" : 23
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"is_signed" : true,
|
|
"bitwidth" : 32,
|
|
"value" : "3"
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"kind" : <"LT">
|
|
}
|
|
)>,
|
|
<"UnaryOperator" : (
|
|
{
|
|
"pointer" : 141,
|
|
"source_range" : (
|
|
{
|
|
"column" : 26
|
|
},
|
|
{
|
|
"column" : 27
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 142,
|
|
"source_range" : (
|
|
{
|
|
"column" : 26
|
|
},
|
|
{
|
|
"column" : 26
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"Var">,
|
|
"decl_pointer" : 135,
|
|
"name" : {
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"kind" : <"PostInc">,
|
|
"is_postfix" : true
|
|
}
|
|
)>,
|
|
<"CompoundStmt" : (
|
|
{
|
|
"pointer" : 143,
|
|
"source_range" : (
|
|
{
|
|
"column" : 31
|
|
},
|
|
{
|
|
"line" : 27,
|
|
"column" : 3
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ObjCAutoreleasePoolStmt" : (
|
|
{
|
|
"pointer" : 144,
|
|
"source_range" : (
|
|
{
|
|
"line" : 24,
|
|
"column" : 5
|
|
},
|
|
{
|
|
"line" : 26,
|
|
"column" : 5
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"CompoundStmt" : (
|
|
{
|
|
"pointer" : 145,
|
|
"source_range" : (
|
|
{
|
|
"line" : 24,
|
|
"column" : 22
|
|
},
|
|
{
|
|
"line" : 26,
|
|
"column" : 5
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ExprWithCleanups" : (
|
|
{
|
|
"pointer" : 146,
|
|
"source_range" : (
|
|
{
|
|
"line" : 25,
|
|
"column" : 7
|
|
},
|
|
{
|
|
"column" : 25
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ObjCMessageExpr" : (
|
|
{
|
|
"pointer" : 147,
|
|
"source_range" : (
|
|
{
|
|
"column" : 7
|
|
},
|
|
{
|
|
"column" : 25
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 148,
|
|
"source_range" : (
|
|
{
|
|
"column" : 8
|
|
},
|
|
{
|
|
"column" : 18
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"ObjCMessageExpr" : (
|
|
{
|
|
"pointer" : 149,
|
|
"source_range" : (
|
|
{
|
|
"column" : 8
|
|
},
|
|
{
|
|
"column" : 18
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 102
|
|
}
|
|
},
|
|
{
|
|
"selector" : "new",
|
|
"decl_pointer" : 24,
|
|
"receiver_kind" : <"Class" : {
|
|
"type_ptr" : 150
|
|
}>
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 102
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"ARCConsumeObject">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>,
|
|
<"ImplicitCastExpr" : (
|
|
{
|
|
"pointer" : 151,
|
|
"source_range" : (
|
|
{
|
|
"column" : 24
|
|
},
|
|
{
|
|
"column" : 24
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"DeclRefExpr" : (
|
|
{
|
|
"pointer" : 152,
|
|
"source_range" : (
|
|
{
|
|
"column" : 24
|
|
},
|
|
{
|
|
"column" : 24
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"value_kind" : <"LValue">
|
|
},
|
|
{
|
|
"decl_ref" : {
|
|
"kind" : <"Var">,
|
|
"decl_pointer" : 135,
|
|
"name" : {
|
|
"name" : "i",
|
|
"qual_name" : [
|
|
"i"
|
|
]
|
|
},
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
}
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"cast_kind" : <"LValueToRValue">,
|
|
"base_path" : [
|
|
]
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
"selector" : "say:",
|
|
"is_definition_found" : true,
|
|
"decl_pointer" : 105
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
}
|
|
)>
|
|
]
|
|
)>
|
|
]
|
|
)>
|
|
]
|
|
)>
|
|
]
|
|
)>,
|
|
<"ReturnStmt" : (
|
|
{
|
|
"pointer" : 153,
|
|
"source_range" : (
|
|
{
|
|
"line" : 28,
|
|
"column" : 3
|
|
},
|
|
{
|
|
"column" : 10
|
|
}
|
|
)
|
|
},
|
|
[
|
|
<"IntegerLiteral" : (
|
|
{
|
|
"pointer" : 154,
|
|
"source_range" : (
|
|
{
|
|
"column" : 10
|
|
},
|
|
{
|
|
"column" : 10
|
|
}
|
|
)
|
|
},
|
|
[
|
|
],
|
|
{
|
|
"qual_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"is_signed" : true,
|
|
"bitwidth" : 32,
|
|
"value" : "0"
|
|
}
|
|
)>
|
|
]
|
|
)>
|
|
]
|
|
)>
|
|
}
|
|
)>,
|
|
<"TypedefDecl" : (
|
|
{
|
|
"pointer" : 155,
|
|
"source_range" : (
|
|
{
|
|
},
|
|
{
|
|
}
|
|
),
|
|
"is_implicit" : true
|
|
},
|
|
{
|
|
"name" : "instancetype",
|
|
"qual_name" : [
|
|
"instancetype"
|
|
]
|
|
},
|
|
21,
|
|
{
|
|
}
|
|
)>
|
|
],
|
|
{
|
|
},
|
|
{
|
|
"input_path" : "tests/Hello.m",
|
|
"input_kind" : <"IK_ObjC">,
|
|
"integer_type_widths" : {
|
|
"char_type" : 8,
|
|
"short_type" : 16,
|
|
"int_type" : 32,
|
|
"long_type" : 64,
|
|
"longlong_type" : 64
|
|
},
|
|
"is_objc_arc_on" : true,
|
|
"types" : [
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 99
|
|
},
|
|
<"Void">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 156
|
|
},
|
|
<"Bool">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 157
|
|
},
|
|
<"Char_S">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 158
|
|
},
|
|
<"SChar">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 159
|
|
},
|
|
<"Short">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 53
|
|
},
|
|
<"Int">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 160
|
|
},
|
|
<"Long">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 161
|
|
},
|
|
<"LongLong">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 162
|
|
},
|
|
<"UChar">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 163
|
|
},
|
|
<"UShort">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 79
|
|
},
|
|
<"UInt">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 164
|
|
},
|
|
<"ULong">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 165
|
|
},
|
|
<"ULongLong">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 166
|
|
},
|
|
<"Float">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 167
|
|
},
|
|
<"Double">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 168
|
|
},
|
|
<"LongDouble">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 169
|
|
},
|
|
<"Float128">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 170
|
|
},
|
|
<"Float16">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 171
|
|
},
|
|
<"ShortAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 172
|
|
},
|
|
<"Accum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 173
|
|
},
|
|
<"LongAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 174
|
|
},
|
|
<"UShortAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 175
|
|
},
|
|
<"UAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 176
|
|
},
|
|
<"ULongAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 177
|
|
},
|
|
<"ShortFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 178
|
|
},
|
|
<"Fract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 179
|
|
},
|
|
<"LongFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 180
|
|
},
|
|
<"UShortFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 181
|
|
},
|
|
<"UFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 182
|
|
},
|
|
<"ULongFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 183
|
|
},
|
|
<"SatShortAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 184
|
|
},
|
|
<"SatAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 185
|
|
},
|
|
<"SatLongAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 186
|
|
},
|
|
<"SatUShortAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 187
|
|
},
|
|
<"SatUAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 188
|
|
},
|
|
<"SatULongAccum">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 189
|
|
},
|
|
<"SatShortFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 190
|
|
},
|
|
<"SatFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 191
|
|
},
|
|
<"SatLongFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 192
|
|
},
|
|
<"SatUShortFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 193
|
|
},
|
|
<"SatUFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 194
|
|
},
|
|
<"SatULongFract">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 195
|
|
},
|
|
<"Int128">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 196
|
|
},
|
|
<"UInt128">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 197
|
|
},
|
|
<"WChar_S">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 198
|
|
},
|
|
<"Char8">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 199
|
|
},
|
|
<"Dependent">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 200
|
|
},
|
|
<"Overload">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 201
|
|
},
|
|
<"BoundMember">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 202
|
|
},
|
|
<"PseudoObject">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 203
|
|
},
|
|
<"UnknownAny">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 204
|
|
},
|
|
<"ARCUnbridgedCast">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 205
|
|
},
|
|
<"BuiltinFn">
|
|
)>,
|
|
<"ComplexType" : (
|
|
{
|
|
"pointer" : 206
|
|
}
|
|
)>,
|
|
<"ComplexType" : (
|
|
{
|
|
"pointer" : 207
|
|
}
|
|
)>,
|
|
<"ComplexType" : (
|
|
{
|
|
"pointer" : 208
|
|
}
|
|
)>,
|
|
<"ComplexType" : (
|
|
{
|
|
"pointer" : 209
|
|
}
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 210
|
|
},
|
|
<"ObjCId">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 211
|
|
},
|
|
<"ObjCClass">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 212
|
|
},
|
|
<"ObjCSel">
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 213
|
|
},
|
|
{
|
|
"type_ptr" : 99
|
|
}
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 214
|
|
},
|
|
<"NullPtr">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 215
|
|
},
|
|
<"Half">
|
|
)>,
|
|
<"BuiltinType" : (
|
|
{
|
|
"pointer" : 216
|
|
},
|
|
<"BFloat16">
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 217
|
|
},
|
|
{
|
|
"type_ptr" : 212
|
|
}
|
|
)>,
|
|
<"ObjCObjectType" : (
|
|
{
|
|
"pointer" : 218
|
|
},
|
|
{
|
|
"base_type" : 210
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 219
|
|
},
|
|
{
|
|
"type_ptr" : 218
|
|
}
|
|
)>,
|
|
<"ObjCObjectType" : (
|
|
{
|
|
"pointer" : 220
|
|
},
|
|
{
|
|
"base_type" : 211
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 221
|
|
},
|
|
{
|
|
"type_ptr" : 220
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 222
|
|
},
|
|
10
|
|
)>,
|
|
<"RecordType" : (
|
|
{
|
|
"pointer" : 223
|
|
},
|
|
224
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 225
|
|
},
|
|
{
|
|
"type_ptr" : 53,
|
|
"is_const" : true
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 226
|
|
},
|
|
{
|
|
"type_ptr" : 157,
|
|
"is_const" : true
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 227
|
|
},
|
|
{
|
|
"type_ptr" : 157
|
|
}
|
|
)>,
|
|
<"RecordType" : (
|
|
{
|
|
"pointer" : 228
|
|
},
|
|
229
|
|
)>,
|
|
<"ConstantArrayType" : (
|
|
{
|
|
"pointer" : 230
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 228
|
|
},
|
|
"stride" : 24
|
|
},
|
|
1
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 231
|
|
},
|
|
18
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 7,
|
|
"desugared_type" : 219
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 219
|
|
},
|
|
"decl_ptr" : 6
|
|
}
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 21,
|
|
"desugared_type" : 219
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 7
|
|
},
|
|
"decl_ptr" : 155
|
|
}
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 9,
|
|
"desugared_type" : 221
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 221
|
|
},
|
|
"decl_ptr" : 8
|
|
}
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 5,
|
|
"desugared_type" : 217
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 217
|
|
},
|
|
"decl_ptr" : 4
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 30
|
|
},
|
|
{
|
|
"type_ptr" : 231
|
|
}
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 15,
|
|
"desugared_type" : 53
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 53
|
|
},
|
|
"decl_ptr" : 14
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 47
|
|
},
|
|
{
|
|
"type_ptr" : 222
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 232
|
|
},
|
|
50
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 233
|
|
},
|
|
56
|
|
)>,
|
|
<"TypedefType" : (
|
|
{
|
|
"pointer" : 17,
|
|
"desugared_type" : 79
|
|
},
|
|
{
|
|
"child_type" : {
|
|
"type_ptr" : 79
|
|
},
|
|
"decl_ptr" : 16
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 59
|
|
},
|
|
{
|
|
"type_ptr" : 233
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 234
|
|
},
|
|
61
|
|
)>,
|
|
<"IncompleteArrayType" : (
|
|
{
|
|
"pointer" : 235
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 219
|
|
},
|
|
"stride" : 8
|
|
}
|
|
)>,
|
|
<"IncompleteArrayType" : (
|
|
{
|
|
"pointer" : 236
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 7,
|
|
"is_const" : true
|
|
},
|
|
"stride" : 8
|
|
}
|
|
)>,
|
|
<"IncompleteArrayType" : (
|
|
{
|
|
"pointer" : 237
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 7,
|
|
"is_const" : true
|
|
},
|
|
"stride" : 8
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 238
|
|
},
|
|
{
|
|
"type_ptr" : 219,
|
|
"is_const" : true
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 239
|
|
},
|
|
{
|
|
"type_ptr" : 7,
|
|
"is_const" : true
|
|
}
|
|
)>,
|
|
<"DecayedType" : (
|
|
{
|
|
"pointer" : 64,
|
|
"desugared_type" : 239
|
|
},
|
|
{
|
|
"type_ptr" : 239
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 72
|
|
},
|
|
{
|
|
"type_ptr" : 234
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 240
|
|
},
|
|
74
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 241
|
|
},
|
|
{
|
|
"type_ptr" : 219
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 77
|
|
},
|
|
{
|
|
"type_ptr" : 7
|
|
}
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 85
|
|
},
|
|
{
|
|
"type_ptr" : 240
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 242
|
|
},
|
|
87
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 243
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 59
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 244
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 59
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 245
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 219
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 91
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 99
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 7
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"ObjCInterfaceType" : (
|
|
{
|
|
"pointer" : 150
|
|
},
|
|
97
|
|
)>,
|
|
<"ObjCObjectPointerType" : (
|
|
{
|
|
"pointer" : 102
|
|
},
|
|
{
|
|
"type_ptr" : 150
|
|
}
|
|
)>,
|
|
<"ConstantArrayType" : (
|
|
{
|
|
"pointer" : 123
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 157
|
|
},
|
|
"stride" : 1
|
|
},
|
|
19
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 246
|
|
},
|
|
{
|
|
"type_ptr" : 245
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 119
|
|
},
|
|
{
|
|
"type_ptr" : 91
|
|
}
|
|
)>,
|
|
<"IncompleteArrayType" : (
|
|
{
|
|
"pointer" : 247
|
|
},
|
|
{
|
|
"element_type" : {
|
|
"type_ptr" : 227
|
|
},
|
|
"stride" : 8
|
|
}
|
|
)>,
|
|
<"PointerType" : (
|
|
{
|
|
"pointer" : 248
|
|
},
|
|
{
|
|
"type_ptr" : 227
|
|
}
|
|
)>,
|
|
<"DecayedType" : (
|
|
{
|
|
"pointer" : 130,
|
|
"desugared_type" : 248
|
|
},
|
|
{
|
|
"type_ptr" : 248
|
|
}
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 249
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"type_ptr" : 248
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"FunctionProtoType" : (
|
|
{
|
|
"pointer" : 127
|
|
},
|
|
{
|
|
"return_type" : {
|
|
"type_ptr" : 53
|
|
}
|
|
},
|
|
{
|
|
"params_type" : [
|
|
{
|
|
"type_ptr" : 53
|
|
},
|
|
{
|
|
"type_ptr" : 130
|
|
}
|
|
]
|
|
}
|
|
)>,
|
|
<"NoneType" : (
|
|
{
|
|
"pointer" : 0
|
|
}
|
|
)>
|
|
]
|
|
}
|
|
)>
|