mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 03:17:08 +00:00
133 lines
2.3 KiB
C++
133 lines
2.3 KiB
C++
enum VarType {};
|
|
|
|
struct Holder {
|
|
static constexpr VarType static_var = (VarType)0x0;
|
|
};
|
|
|
|
const VarType Holder::static_var;
|
|
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"includes": [],
|
|
"skipped_by_preprocessor": [],
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@E@VarType",
|
|
"short_name": "VarType",
|
|
"detailed_name": "VarType",
|
|
"hover": "VarType",
|
|
"definition_spelling": "1:6-1:13",
|
|
"definition_extent": "1:1-1:16",
|
|
"parents": [],
|
|
"derived": [],
|
|
"types": [],
|
|
"funcs": [],
|
|
"vars": [],
|
|
"instances": [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",
|
|
"detailed_name": "Holder",
|
|
"hover": "Holder",
|
|
"definition_spelling": "3:8-3:14",
|
|
"definition_extent": "3:1-5:2",
|
|
"parents": [],
|
|
"derived": [],
|
|
"types": [],
|
|
"funcs": [],
|
|
"vars": [0],
|
|
"instances": [],
|
|
"uses": ["3:8-3:14", "7:15-7:21"]
|
|
}],
|
|
"funcs": [],
|
|
"vars": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Holder@static_var",
|
|
"short_name": "static_var",
|
|
"detailed_name": "const VarType 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,
|
|
"is_local": false,
|
|
"is_macro": false,
|
|
"uses": ["4:28-4:38", "7:23-7:33"]
|
|
}]
|
|
}
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//#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>
|
|
//#include <algorithm>
|