2017-03-05 23:44:20 +00:00
|
|
|
enum VarType {};
|
|
|
|
|
|
|
|
struct Holder {
|
|
|
|
static constexpr VarType static_var = (VarType)0x0;
|
|
|
|
};
|
|
|
|
|
|
|
|
const VarType Holder::static_var;
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
OUTPUT:
|
|
|
|
{
|
2017-12-12 05:15:37 +00:00
|
|
|
"includes": [],
|
|
|
|
"skipped_by_preprocessor": [],
|
2017-03-05 23:44:20 +00:00
|
|
|
"types": [{
|
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@E@VarType",
|
|
|
|
"short_name": "VarType",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "VarType",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "1:6-1:13",
|
|
|
|
"definition_extent": "1:1-1:16",
|
2017-12-12 05:15:37 +00:00
|
|
|
"parents": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
|
|
|
"vars": [],
|
2017-04-21 07:04:56 +00:00
|
|
|
"instances": [0],
|
2017-04-19 04:58:39 +00:00
|
|
|
"uses": ["1:6-1:13", "4:20-4:27", "4:42-4:49", "7:7-7:14"]
|
2017-03-05 23:44:20 +00:00
|
|
|
}, {
|
|
|
|
"id": 1,
|
|
|
|
"usr": "c:@S@Holder",
|
|
|
|
"short_name": "Holder",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "Holder",
|
2017-04-05 08:29:15 +00:00
|
|
|
"definition_spelling": "3:8-3:14",
|
|
|
|
"definition_extent": "3:1-5:2",
|
2017-12-12 05:15:37 +00:00
|
|
|
"parents": [],
|
|
|
|
"derived": [],
|
|
|
|
"types": [],
|
|
|
|
"funcs": [],
|
2017-03-05 23:44:20 +00:00
|
|
|
"vars": [0],
|
2017-12-12 05:15:37 +00:00
|
|
|
"instances": [],
|
2017-04-19 04:58:39 +00:00
|
|
|
"uses": ["3:8-3:14", "7:15-7:21"]
|
2017-03-05 23:44:20 +00:00
|
|
|
}],
|
2017-12-12 05:15:37 +00:00
|
|
|
"funcs": [],
|
2017-03-08 00:21:23 +00:00
|
|
|
"vars": [{
|
2017-03-05 23:44:20 +00:00
|
|
|
"id": 0,
|
|
|
|
"usr": "c:@S@Holder@static_var",
|
|
|
|
"short_name": "static_var",
|
2017-04-15 04:58:07 +00:00
|
|
|
"detailed_name": "const VarType Holder::static_var",
|
2017-04-05 08:29:15 +00:00
|
|
|
"declaration": "4:28-4:38",
|
|
|
|
"definition_spelling": "7:23-7:33",
|
|
|
|
"definition_extent": "7:1-7:33",
|
2017-03-05 23:44:20 +00:00
|
|
|
"variable_type": 0,
|
|
|
|
"declaring_type": 1,
|
2017-05-21 01:26:50 +00:00
|
|
|
"is_local": false,
|
2017-06-29 06:25:19 +00:00
|
|
|
"is_macro": false,
|
2017-12-23 02:10:23 +00:00
|
|
|
"is_global": false,
|
|
|
|
"is_member": true,
|
2017-04-05 08:29:15 +00:00
|
|
|
"uses": ["4:28-4:38", "7:23-7:33"]
|
2017-03-05 23:44:20 +00:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#include <string>
|
|
|
|
//#include <xiosbase>
|
|
|
|
|
|
|
|
//#include <sstream>
|
|
|
|
//#include <algorithm>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <string>
|
|
|
|
//#include <cstddef>
|
|
|
|
//#include <sstream>
|
|
|
|
//#include <iomanip>
|
|
|
|
//#include <limits>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <cstddef>
|
|
|
|
//#include <tuple>
|
|
|
|
//#include <type_traits>
|
|
|
|
//#include <string>
|
|
|
|
//#include <string>
|
|
|
|
//#include <type_traits>
|
|
|
|
//#include <iterator>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <string>
|
|
|
|
//#include <stdlib.h>
|
|
|
|
//#include <string>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <string>
|
|
|
|
//#include <cstddef>
|
|
|
|
//#include <cmath>
|
|
|
|
//#include <limits>
|
|
|
|
//#include <type_traits>
|
|
|
|
//#include <set>
|
|
|
|
//#include <string>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <iosfwd>
|
|
|
|
//#include <streambuf>
|
|
|
|
//#include <ostream>
|
|
|
|
//#include <fstream>
|
|
|
|
//#include <memory>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <string>
|
|
|
|
//#include <stdexcept>
|
|
|
|
//#include <string>
|
|
|
|
//#include <vector>
|
|
|
|
//#include <sstream>
|
2017-03-08 00:21:23 +00:00
|
|
|
//#include <algorithm>
|