2018-03-31 03:16:33 +00:00
|
|
|
typedef unsigned char uint8_t;
|
|
|
|
enum class Foo : uint8_t {
|
|
|
|
A,
|
|
|
|
B = 20
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
|
|
|
"includes": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"skipped_ranges": [],
|
2018-07-08 19:49:27 +00:00
|
|
|
"usr2func": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"usr2type": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 2010430204259339553,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "typedef unsigned char uint8_t",
|
|
|
|
"qual_name_offset": 22,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "uint8_t",
|
|
|
|
"kind": 252,
|
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "1:23-1:30|0|1|2",
|
|
|
|
"extent": "1:1-1:30|0|1|0",
|
2018-07-07 23:56:47 +00:00
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"uses": []
|
2018-03-31 03:16:33 +00:00
|
|
|
}, {
|
|
|
|
"usr": 16985894625255407295,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "enum class Foo : uint8_t {\n}",
|
|
|
|
"qual_name_offset": 11,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "Foo",
|
|
|
|
"kind": 10,
|
|
|
|
"declarations": [],
|
2018-04-30 04:49:03 +00:00
|
|
|
"spell": "2:12-2:15|0|1|2",
|
|
|
|
"extent": "2:1-5:2|0|1|0",
|
|
|
|
"alias_of": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"bases": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
|
|
|
"instances": [],
|
|
|
|
"uses": []
|
|
|
|
}],
|
2018-04-30 04:49:03 +00:00
|
|
|
"usr2var": [{
|
2018-03-31 03:16:33 +00:00
|
|
|
"usr": 439339022761937396,
|
|
|
|
"detailed_name": "Foo::A",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "A",
|
|
|
|
"hover": "Foo::A = 0",
|
|
|
|
"declarations": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"spell": "3:3-3:4|16985894625255407295|2|514",
|
2018-04-30 04:49:03 +00:00
|
|
|
"extent": "3:3-3:4|16985894625255407295|2|0",
|
2018-07-07 23:56:47 +00:00
|
|
|
"type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 22,
|
|
|
|
"storage": 0
|
|
|
|
}, {
|
|
|
|
"usr": 15962370213938840720,
|
2018-07-07 23:56:47 +00:00
|
|
|
"detailed_name": "Foo::B = 20",
|
2018-04-06 00:00:07 +00:00
|
|
|
"qual_name_offset": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"short_name": "B",
|
|
|
|
"declarations": [],
|
2018-07-07 23:56:47 +00:00
|
|
|
"spell": "4:3-4:4|16985894625255407295|2|514",
|
2018-04-30 04:49:03 +00:00
|
|
|
"extent": "4:3-4:9|16985894625255407295|2|0",
|
2018-07-07 23:56:47 +00:00
|
|
|
"type": 0,
|
2018-03-31 03:16:33 +00:00
|
|
|
"uses": [],
|
|
|
|
"kind": 22,
|
|
|
|
"storage": 0
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|