mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-30 03:17:08 +00:00
07c984d6c7
- Allow tests to automatically update their expecatations
29 lines
560 B
C++
29 lines
560 B
C++
class IFoo {
|
|
virtual void foo() = 0 {}
|
|
};
|
|
|
|
/*
|
|
OUTPUT:
|
|
{
|
|
"types": [{
|
|
"id": 0,
|
|
"usr": "c:@S@IFoo",
|
|
"short_name": "IFoo",
|
|
"qualified_name": "IFoo",
|
|
"definition_spelling": "1:7-1:11",
|
|
"definition_extent": "1:1-3:2",
|
|
"funcs": [0],
|
|
"uses": ["*1:7-1:11"]
|
|
}],
|
|
"funcs": [{
|
|
"id": 0,
|
|
"usr": "c:@S@IFoo@F@foo#",
|
|
"short_name": "foo",
|
|
"qualified_name": "void IFoo::foo()",
|
|
"definition_spelling": "2:16-2:19",
|
|
"definition_extent": "2:3-2:28",
|
|
"declaring_type": 0
|
|
}]
|
|
}
|
|
*/
|