mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
28 lines
586 B
C++
28 lines
586 B
C++
class Parent {};
|
|
class Derived : public Parent {};
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Parent",
|
|
"short_name": "Parent",
|
|
"detailed_name": "Parent",
|
|
"definition_spelling": "1:7-1:13",
|
|
"definition_extent": "1:1-1:16",
|
|
"derived": [1],
|
|
"uses": ["1:7-1:13", "2:24-2:30"]
|
|
}, {
|
|
"id": 1,
|
|
"usr": "c:@S@Derived",
|
|
"short_name": "Derived",
|
|
"detailed_name": "Derived",
|
|
"definition_spelling": "2:7-2:14",
|
|
"definition_extent": "2:1-2:33",
|
|
"parents": [0],
|
|
"uses": ["2:7-2:14"]
|
|
}]
|
|
}
|
|
*/
|