| 1 |
enum VarType {}; |
| 2 |
|
| 3 |
struct Holder { |
| 4 |
static constexpr VarType static_var = (VarType)0x0; |
| 5 |
}; |
| 6 |
|
| 7 |
const VarType Holder::static_var; |
| 8 |
|
| 9 |
/* |
| 10 |
OUTPUT: |
| 11 |
{ |
| 12 |
"includes": [], |
| 13 |
"skipped_ranges": [], |
| 14 |
"usr2func": [], |
| 15 |
"usr2type": [{ |
| 16 |
"usr": 5792006888140599735, |
| 17 |
"detailed_name": "enum VarType {}", |
| 18 |
"qual_name_offset": 5, |
| 19 |
"short_name": "VarType", |
| 20 |
"spell": "1:6-1:13|1:1-1:16|2|-1", |
| 21 |
"bases": [], |
| 22 |
"funcs": [], |
| 23 |
"types": [], |
| 24 |
"vars": [], |
| 25 |
"alias_of": 0, |
| 26 |
"kind": 10, |
| 27 |
"parent_kind": 1, |
| 28 |
"declarations": [], |
| 29 |
"derived": [], |
| 30 |
"instances": [7057400933868440116, 7057400933868440116], |
| 31 |
"uses": ["4:20-4:27|4|-1", "4:42-4:49|4|-1", "7:7-7:14|4|-1"] |
| 32 |
}, { |
| 33 |
"usr": 10028537921178202800, |
| 34 |
"detailed_name": "struct Holder {}", |
| 35 |
"qual_name_offset": 7, |
| 36 |
"short_name": "Holder", |
| 37 |
"spell": "3:8-3:14|3:1-5:2|2|-1", |
| 38 |
"bases": [], |
| 39 |
"funcs": [], |
| 40 |
"types": [], |
| 41 |
"vars": [], |
| 42 |
"alias_of": 0, |
| 43 |
"kind": 23, |
| 44 |
"parent_kind": 1, |
| 45 |
"declarations": [], |
| 46 |
"derived": [], |
| 47 |
"instances": [], |
| 48 |
"uses": ["7:15-7:21|4|-1"] |
| 49 |
}], |
| 50 |
"usr2var": [{ |
| 51 |
"usr": 7057400933868440116, |
| 52 |
"detailed_name": "static constexpr VarType Holder::static_var", |
| 53 |
"qual_name_offset": 25, |
| 54 |
"short_name": "static_var", |
| 55 |
"hover": "static constexpr VarType Holder::static_var = (VarType)0x0", |
| 56 |
"spell": "4:28-4:38|4:3-4:53|1026|-1", |
| 57 |
"type": 5792006888140599735, |
| 58 |
"kind": 8, |
| 59 |
"parent_kind": 23, |
| 60 |
"storage": 2, |
| 61 |
"declarations": ["7:23-7:33|7:1-7:33|1025|-1"], |
| 62 |
"uses": [] |
| 63 |
}] |
| 64 |
} |
| 65 |
*/ |
| 66 |
|
| 67 |
//#include <string> |
| 68 |
//#include <xiosbase> |
| 69 |
|
| 70 |
//#include <sstream> |
| 71 |
//#include <algorithm> |
| 72 |
//#include <vector> |
| 73 |
//#include <string> |
| 74 |
//#include <cstddef> |
| 75 |
//#include <sstream> |
| 76 |
//#include <iomanip> |
| 77 |
//#include <limits> |
| 78 |
//#include <vector> |
| 79 |
//#include <cstddef> |
| 80 |
//#include <tuple> |
| 81 |
//#include <type_traits> |
| 82 |
//#include <string> |
| 83 |
//#include <string> |
| 84 |
//#include <type_traits> |
| 85 |
//#include <iterator> |
| 86 |
//#include <vector> |
| 87 |
//#include <string> |
| 88 |
//#include <stdlib.h> |
| 89 |
//#include <string> |
| 90 |
//#include <vector> |
| 91 |
//#include <string> |
| 92 |
//#include <cstddef> |
| 93 |
//#include <cmath> |
| 94 |
//#include <limits> |
| 95 |
//#include <type_traits> |
| 96 |
//#include <set> |
| 97 |
//#include <string> |
| 98 |
//#include <vector> |
| 99 |
//#include <iosfwd> |
| 100 |
//#include <streambuf> |
| 101 |
//#include <ostream> |
| 102 |
//#include <fstream> |
| 103 |
//#include <memory> |
| 104 |
//#include <vector> |
| 105 |
//#include <string> |
| 106 |
//#include <stdexcept> |
| 107 |
//#include <string> |
| 108 |
//#include <vector> |
| 109 |
//#include <sstream> |
| 110 |
//#include <algorithm> |