mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
26 lines
480 B
C++
26 lines
480 B
C++
class Parent {};
|
|
class Derived : public Parent {};
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@S@Parent",
|
|
"short_name": "Parent",
|
|
"qualified_name": "Parent",
|
|
"definition": "1:1:7",
|
|
"derived": [1],
|
|
"uses": ["*1:1:7", "*1:2:24"]
|
|
}, {
|
|
"id": 1,
|
|
"usr": "c:@S@Derived",
|
|
"short_name": "Derived",
|
|
"qualified_name": "Derived",
|
|
"definition": "1:2:7",
|
|
"parents": [0],
|
|
"uses": ["*1:2:7"]
|
|
}]
|
|
}
|
|
*/
|