enum VarType {}; struct Holder { static constexpr VarType static_var = (VarType)0x0; }; const VarType Holder::static_var; /* OUTPUT: { "types": [{ "id": 0, "usr": "c:@E@VarType", "short_name": "VarType", "qualified_name": "VarType", "definition_spelling": "1:6-1:13", "definition_extent": "1:1-1:16", "instantiations": [0], "uses": ["*1:6-1:13", "*4:20-4:27", "*4:42-4:49", "*7:7-7:14"] }, { "id": 1, "usr": "c:@S@Holder", "short_name": "Holder", "qualified_name": "Holder", "definition_spelling": "3:8-3:14", "definition_extent": "3:1-5:2", "vars": [0], "uses": ["*3:8-3:14", "7:15-7:21"] }], "vars": [{ "id": 0, "usr": "c:@S@Holder@static_var", "short_name": "static_var", "qualified_name": "Holder::static_var", "hover": "const VarType", "declaration": "4:28-4:38", "definition_spelling": "7:23-7:33", "definition_extent": "7:1-7:33", "variable_type": 0, "declaring_type": 1, "uses": ["4:28-4:38", "7:23-7:33"] }] } */ //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include //#include