mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 11:01:57 +00:00
combine usage into one list
This commit is contained in:
parent
f067f6dcc4
commit
ef1ff80a58
18
main.cpp
18
main.cpp
@ -66,7 +66,7 @@ std::string ToString() {
|
|||||||
// 3 => column
|
// 3 => column
|
||||||
|
|
||||||
std::string result;
|
std::string result;
|
||||||
//if (interesting)
|
if (interesting)
|
||||||
result += '*';
|
result += '*';
|
||||||
result += std::to_string(file_id);
|
result += std::to_string(file_id);
|
||||||
result += ':';
|
result += ':';
|
||||||
@ -488,22 +488,6 @@ std::string ParsingDatabase::ToString() {
|
|||||||
WRITE(funcs);
|
WRITE(funcs);
|
||||||
WRITE(vars);
|
WRITE(vars);
|
||||||
WRITE(all_uses);
|
WRITE(all_uses);
|
||||||
|
|
||||||
bool wrote_key = false;
|
|
||||||
for (Location usage : def.all_uses) {
|
|
||||||
if (usage.interesting) {
|
|
||||||
if (!wrote_key) {
|
|
||||||
writer.Key("interesting_uses");
|
|
||||||
wrote_key = true;
|
|
||||||
writer.StartArray();
|
|
||||||
}
|
|
||||||
|
|
||||||
Write(writer, nullptr, usage);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (wrote_key)
|
|
||||||
writer.EndArray();
|
|
||||||
|
|
||||||
writer.EndObject();
|
writer.EndObject();
|
||||||
}
|
}
|
||||||
writer.EndArray();
|
writer.EndArray();
|
||||||
|
@ -11,8 +11,8 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:3:7",
|
"definition": "1:3:7",
|
||||||
"all_uses": ["*1:1:7", "*1:2:7", "*1:3:7", "*1:4:7"]
|
"all_uses": ["1:1:7", "1:2:7", "1:3:7", "1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -23,45 +23,44 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:7:3", "*1:8:3", "*1:8:17"],
|
"all_uses": ["1:1:7", "*1:7:3", "*1:8:3", "1:8:17"]
|
||||||
"interesting_uses": ["*1:7:3", "*1:8:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@Foo#",
|
"usr": "c:@S@Foo@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo::Foo",
|
"qualified_name": "Foo::Foo",
|
||||||
"definition": "*1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"callers": ["1@*1:7:7", "1@*1:8:17"],
|
"callers": ["1@1:7:7", "1@1:8:17"],
|
||||||
"all_uses": ["*1:3:3", "*1:7:7", "*1:8:17"]
|
"all_uses": ["1:3:3", "1:7:7", "1:8:17"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:6:6",
|
"definition": "1:6:6",
|
||||||
"callees": ["0@*1:7:7", "0@*1:8:17"],
|
"callees": ["0@1:7:7", "0@1:8:17"],
|
||||||
"all_uses": ["*1:6:6"]
|
"all_uses": ["1:6:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:constructor.cc@56@F@foo#@f",
|
"usr": "c:constructor.cc@56@F@foo#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:7:7",
|
"definition": "1:7:7",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:7:7"]
|
"all_uses": ["1:7:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:constructor.cc@66@F@foo#@f2",
|
"usr": "c:constructor.cc@66@F@foo#@f2",
|
||||||
"short_name": "f2",
|
"short_name": "f2",
|
||||||
"qualified_name": "f2",
|
"qualified_name": "f2",
|
||||||
"definition": "*1:8:8",
|
"definition": "1:8:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:8:8"]
|
"all_uses": ["1:8:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -21,45 +21,44 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0, 1],
|
"funcs": [0, 1],
|
||||||
"all_uses": ["*1:1:7", "*1:8:3"],
|
"all_uses": ["1:1:7", "*1:8:3"]
|
||||||
"interesting_uses": ["*1:8:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@Foo#",
|
"usr": "c:@S@Foo@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo::Foo",
|
"qualified_name": "Foo::Foo",
|
||||||
"definition": "*1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"callers": ["2@*1:8:7"],
|
"callers": ["2@1:8:7"],
|
||||||
"all_uses": ["*1:3:3", "*1:8:7"]
|
"all_uses": ["1:3:3", "1:8:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@F@~Foo#",
|
"usr": "c:@S@Foo@F@~Foo#",
|
||||||
"short_name": "~Foo",
|
"short_name": "~Foo",
|
||||||
"qualified_name": "Foo::~Foo",
|
"qualified_name": "Foo::~Foo",
|
||||||
"definition": "*1:4:3",
|
"definition": "1:4:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:4:3"]
|
"all_uses": ["1:4:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:7:6",
|
"definition": "1:7:6",
|
||||||
"callees": ["0@*1:8:7"],
|
"callees": ["0@1:8:7"],
|
||||||
"all_uses": ["*1:7:6"]
|
"all_uses": ["1:7:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:destructor.cc@70@F@foo#@f",
|
"usr": "c:destructor.cc@70@F@foo#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:8:7",
|
"definition": "1:8:7",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:8:7"]
|
"all_uses": ["1:8:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,8 +13,8 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:3:7",
|
"definition": "1:3:7",
|
||||||
"all_uses": ["*1:1:7", "*1:2:7", "*1:3:7", "*1:4:7"]
|
"all_uses": ["1:1:7", "1:2:7", "1:3:7", "1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -10,9 +10,9 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["*1:1:7"]
|
"all_uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -20,9 +20,9 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@FI@foo",
|
"usr": "c:@S@Foo@FI@foo",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:7"]
|
"all_uses": ["1:2:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,9 +12,9 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:5:5"]
|
"all_uses": ["1:1:7", "1:5:5"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -22,10 +22,10 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@foo",
|
"usr": "c:@S@Foo@foo",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "*1:2:14",
|
"declaration": "1:2:14",
|
||||||
"definition": "*1:5:10",
|
"definition": "1:5:10",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:14", "*1:5:10"]
|
"all_uses": ["1:2:14", "1:5:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,9 +13,9 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:4:6",
|
"declaration": "1:4:6",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:1:6", "*1:2:6", "*1:3:6", "*1:4:6"]
|
"all_uses": ["1:1:6", "1:2:6", "1:3:6", "1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,34 +14,34 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [1, 2],
|
"funcs": [1, 2],
|
||||||
"all_uses": ["*1:1:7", "*1:7:6"]
|
"all_uses": ["1:1:7", "1:7:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@declonly#",
|
"usr": "c:@S@Foo@F@declonly#",
|
||||||
"short_name": "declonly",
|
"short_name": "declonly",
|
||||||
"qualified_name": "Foo::declonly",
|
"qualified_name": "Foo::declonly",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"all_uses": ["*1:2:8"]
|
"all_uses": ["1:2:8"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@F@purevirtual#",
|
"usr": "c:@S@Foo@F@purevirtual#",
|
||||||
"short_name": "purevirtual",
|
"short_name": "purevirtual",
|
||||||
"qualified_name": "Foo::purevirtual",
|
"qualified_name": "Foo::purevirtual",
|
||||||
"declaration": "*1:3:16",
|
"declaration": "1:3:16",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:3:16"]
|
"all_uses": ["1:3:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo@F@def#",
|
"usr": "c:@S@Foo@F@def#",
|
||||||
"short_name": "def",
|
"short_name": "def",
|
||||||
"qualified_name": "Foo::def",
|
"qualified_name": "Foo::def",
|
||||||
"declaration": "*1:4:8",
|
"declaration": "1:4:8",
|
||||||
"definition": "*1:7:11",
|
"definition": "1:7:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:4:8", "*1:7:11"]
|
"all_uses": ["1:4:8", "1:7:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,25 +14,25 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"qualified_name": "called",
|
"qualified_name": "called",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"callers": ["2@*1:6:3"],
|
"callers": ["2@1:6:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:6:3"]
|
"all_uses": ["1:1:6", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
"short_name": "gen",
|
"short_name": "gen",
|
||||||
"qualified_name": "gen",
|
"qualified_name": "gen",
|
||||||
"definition": "*1:3:5",
|
"definition": "1:3:5",
|
||||||
"callers": ["2@*1:6:10", "2@*1:6:18"],
|
"callers": ["2@1:6:10", "2@1:6:18"],
|
||||||
"all_uses": ["*1:3:5", "*1:6:10", "*1:6:18"]
|
"all_uses": ["1:3:5", "1:6:10", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["0@*1:6:3", "1@*1:6:10", "1@*1:6:18"],
|
"callees": ["0@1:6:3", "1@1:6:10", "1@1:6:18"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,9 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:1:6", "*1:3:6"]
|
"all_uses": ["1:1:6", "1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -9,18 +9,17 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Parent",
|
"usr": "c:@S@Parent",
|
||||||
"short_name": "Parent",
|
"short_name": "Parent",
|
||||||
"qualified_name": "Parent",
|
"qualified_name": "Parent",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"derived": [1],
|
"derived": [1],
|
||||||
"all_uses": ["*1:1:7", "*1:2:24"],
|
"all_uses": ["1:1:7", "*1:2:24"]
|
||||||
"interesting_uses": ["*1:2:24"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
"short_name": "Derived",
|
"short_name": "Derived",
|
||||||
"qualified_name": "Derived",
|
"qualified_name": "Derived",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"all_uses": ["*1:2:7"]
|
"all_uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -20,53 +20,47 @@ OUTPUT:
|
|||||||
"usr": "c:@ST>1#Ni@Base1",
|
"usr": "c:@ST>1#Ni@Base1",
|
||||||
"short_name": "Base1",
|
"short_name": "Base1",
|
||||||
"qualified_name": "Base1",
|
"qualified_name": "Base1",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"derived": [2, 5],
|
"derived": [2, 5],
|
||||||
"all_uses": ["*1:2:7", "*1:8:18", "*1:13:17"],
|
"all_uses": ["1:2:7", "*1:8:18", "*1:13:17"]
|
||||||
"interesting_uses": ["*1:8:18", "*1:13:17"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@ST>1#T@Base2",
|
"usr": "c:@ST>1#T@Base2",
|
||||||
"short_name": "Base2",
|
"short_name": "Base2",
|
||||||
"qualified_name": "Base2",
|
"qualified_name": "Base2",
|
||||||
"definition": "*1:5:7",
|
"definition": "1:5:7",
|
||||||
"derived": [3, 5],
|
"derived": [3, 5],
|
||||||
"all_uses": ["*1:5:7", "*1:11:18", "*1:13:27"],
|
"all_uses": ["1:5:7", "*1:11:18", "*1:13:27"]
|
||||||
"interesting_uses": ["*1:11:18", "*1:13:27"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@ST>1#Ni@Derived1",
|
"usr": "c:@ST>1#Ni@Derived1",
|
||||||
"short_name": "Derived1",
|
"short_name": "Derived1",
|
||||||
"qualified_name": "Derived1",
|
"qualified_name": "Derived1",
|
||||||
"definition": "*1:8:7",
|
"definition": "1:8:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [5],
|
"derived": [5],
|
||||||
"all_uses": ["*1:8:7", "*1:13:43"],
|
"all_uses": ["1:8:7", "*1:13:43"]
|
||||||
"interesting_uses": ["*1:13:43"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@ST>1#T@Derived2",
|
"usr": "c:@ST>1#T@Derived2",
|
||||||
"short_name": "Derived2",
|
"short_name": "Derived2",
|
||||||
"qualified_name": "Derived2",
|
"qualified_name": "Derived2",
|
||||||
"definition": "*1:11:7",
|
"definition": "1:11:7",
|
||||||
"parents": [1],
|
"parents": [1],
|
||||||
"derived": [5],
|
"derived": [5],
|
||||||
"all_uses": ["*1:11:7", "*1:13:56"],
|
"all_uses": ["1:11:7", "*1:13:56"]
|
||||||
"interesting_uses": ["*1:13:56"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"usr": "c:class_inherit_templated_parent.cc@154",
|
"usr": "c:class_inherit_templated_parent.cc@154",
|
||||||
"all_uses": ["*1:11:24"],
|
"all_uses": ["*1:11:24"]
|
||||||
"interesting_uses": ["*1:11:24"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 5,
|
"id": 5,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
"short_name": "Derived",
|
"short_name": "Derived",
|
||||||
"qualified_name": "Derived",
|
"qualified_name": "Derived",
|
||||||
"definition": "*1:13:7",
|
"definition": "1:13:7",
|
||||||
"parents": [0, 1, 2, 3],
|
"parents": [0, 1, 2, 3],
|
||||||
"all_uses": ["*1:13:7", "*1:13:33", "*1:13:65"],
|
"all_uses": ["1:13:7", "*1:13:33", "*1:13:65"]
|
||||||
"interesting_uses": ["*1:13:33", "*1:13:65"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -11,38 +11,35 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Root",
|
"usr": "c:@S@Root",
|
||||||
"short_name": "Root",
|
"short_name": "Root",
|
||||||
"qualified_name": "Root",
|
"qualified_name": "Root",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"derived": [1, 2],
|
"derived": [1, 2],
|
||||||
"all_uses": ["*1:1:7", "*1:2:24", "*1:3:24"],
|
"all_uses": ["1:1:7", "*1:2:24", "*1:3:24"]
|
||||||
"interesting_uses": ["*1:2:24", "*1:3:24"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@MiddleA",
|
"usr": "c:@S@MiddleA",
|
||||||
"short_name": "MiddleA",
|
"short_name": "MiddleA",
|
||||||
"qualified_name": "MiddleA",
|
"qualified_name": "MiddleA",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [3],
|
"derived": [3],
|
||||||
"all_uses": ["*1:2:7", "*1:4:24"],
|
"all_uses": ["1:2:7", "*1:4:24"]
|
||||||
"interesting_uses": ["*1:4:24"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@MiddleB",
|
"usr": "c:@S@MiddleB",
|
||||||
"short_name": "MiddleB",
|
"short_name": "MiddleB",
|
||||||
"qualified_name": "MiddleB",
|
"qualified_name": "MiddleB",
|
||||||
"definition": "*1:3:7",
|
"definition": "1:3:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [3],
|
"derived": [3],
|
||||||
"all_uses": ["*1:3:7", "*1:4:40"],
|
"all_uses": ["1:3:7", "*1:4:40"]
|
||||||
"interesting_uses": ["*1:4:40"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
"short_name": "Derived",
|
"short_name": "Derived",
|
||||||
"qualified_name": "Derived",
|
"qualified_name": "Derived",
|
||||||
"definition": "*1:4:7",
|
"definition": "1:4:7",
|
||||||
"parents": [1, 2],
|
"parents": [1, 2],
|
||||||
"all_uses": ["*1:4:7"]
|
"all_uses": ["1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -13,37 +13,36 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Root",
|
"usr": "c:@S@Root",
|
||||||
"short_name": "Root",
|
"short_name": "Root",
|
||||||
"qualified_name": "Root",
|
"qualified_name": "Root",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"derived": [1],
|
"derived": [1],
|
||||||
"all_uses": ["*1:1:7", "*1:4:24"],
|
"all_uses": ["1:1:7", "*1:4:24"]
|
||||||
"interesting_uses": ["*1:4:24"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
"short_name": "Derived",
|
"short_name": "Derived",
|
||||||
"qualified_name": "Derived",
|
"qualified_name": "Derived",
|
||||||
"definition": "*1:4:7",
|
"definition": "1:4:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"funcs": [1],
|
"funcs": [1],
|
||||||
"all_uses": ["*1:4:7"]
|
"all_uses": ["1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Root@F@foo#",
|
"usr": "c:@S@Root@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Root::foo",
|
"qualified_name": "Root::foo",
|
||||||
"declaration": "*1:2:16",
|
"declaration": "1:2:16",
|
||||||
"derived": [1],
|
"derived": [1],
|
||||||
"all_uses": ["*1:2:16"]
|
"all_uses": ["1:2:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived@F@foo#",
|
"usr": "c:@S@Derived@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Derived::foo",
|
"qualified_name": "Derived::foo",
|
||||||
"definition": "*1:5:8",
|
"definition": "1:5:8",
|
||||||
"declaring_type": 1,
|
"declaring_type": 1,
|
||||||
"base": 0,
|
"base": 0,
|
||||||
"all_uses": ["*1:5:8"]
|
"all_uses": ["1:5:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,18 +10,18 @@ OUTPUT:
|
|||||||
"usr": "c:@S@IFoo",
|
"usr": "c:@S@IFoo",
|
||||||
"short_name": "IFoo",
|
"short_name": "IFoo",
|
||||||
"qualified_name": "IFoo",
|
"qualified_name": "IFoo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:1:7"]
|
"all_uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@IFoo@F@foo#",
|
"usr": "c:@S@IFoo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "IFoo::foo",
|
"qualified_name": "IFoo::foo",
|
||||||
"definition": "*1:2:16",
|
"definition": "1:2:16",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:16"]
|
"all_uses": ["1:2:16"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,16 +14,16 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"all_uses": ["*1:1:7"]
|
"all_uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"all_uses": ["*1:2:8"]
|
"all_uses": ["1:2:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,19 +12,19 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:5:6"]
|
"all_uses": ["1:1:7", "1:5:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"definition": "*1:5:11",
|
"definition": "1:5:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:8", "*1:5:11"]
|
"all_uses": ["1:2:8", "1:5:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,18 +10,18 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:1:7"]
|
"all_uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"definition": "*1:2:8",
|
"definition": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:8"]
|
"all_uses": ["1:2:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@ OUTPUT:
|
|||||||
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
"usr": "c:anonymous_function.cc@aN@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "::foo",
|
"qualified_name": "::foo",
|
||||||
"declaration": "*1:2:6",
|
"declaration": "1:2:6",
|
||||||
"all_uses": ["*1:2:6"]
|
"all_uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@F@foo#I#I#",
|
"usr": "c:@N@hello@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "hello::foo",
|
"qualified_name": "hello::foo",
|
||||||
"declaration": "*1:2:6",
|
"declaration": "1:2:6",
|
||||||
"all_uses": ["*1:2:6"]
|
"all_uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@F@foo#",
|
"usr": "c:@N@hello@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "hello::foo",
|
"qualified_name": "hello::foo",
|
||||||
"definition": "*1:2:6",
|
"definition": "1:2:6",
|
||||||
"all_uses": ["*1:2:6"]
|
"all_uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,16 +12,16 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "hello::Foo",
|
"qualified_name": "hello::Foo",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7"]
|
"all_uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "hello::Foo::foo",
|
"qualified_name": "hello::Foo::foo",
|
||||||
"declaration": "*1:3:8",
|
"declaration": "1:3:8",
|
||||||
"all_uses": ["*1:3:8"]
|
"all_uses": ["1:3:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,19 +14,19 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "hello::Foo",
|
"qualified_name": "hello::Foo",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:2:7", "*1:6:6"]
|
"all_uses": ["1:2:7", "1:6:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "hello::Foo::foo",
|
"qualified_name": "hello::Foo::foo",
|
||||||
"declaration": "*1:3:8",
|
"declaration": "1:3:8",
|
||||||
"definition": "*1:6:11",
|
"definition": "1:6:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:3:8", "*1:6:11"]
|
"all_uses": ["1:3:8", "1:6:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,18 +12,18 @@ OUTPUT:
|
|||||||
"usr": "c:@N@hello@S@Foo",
|
"usr": "c:@N@hello@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "hello::Foo",
|
"qualified_name": "hello::Foo",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:2:7"]
|
"all_uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@N@hello@S@Foo@F@foo#",
|
"usr": "c:@N@hello@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "hello::Foo::foo",
|
"qualified_name": "hello::Foo::foo",
|
||||||
"definition": "*1:3:8",
|
"definition": "1:3:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:3:8"]
|
"all_uses": ["1:3:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,33 +16,33 @@ OUTPUT:
|
|||||||
"usr": "c:@F@consume#*v#",
|
"usr": "c:@F@consume#*v#",
|
||||||
"short_name": "consume",
|
"short_name": "consume",
|
||||||
"qualified_name": "consume",
|
"qualified_name": "consume",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"callers": ["2@*1:7:3"],
|
"callers": ["2@1:7:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:7:3"]
|
"all_uses": ["1:1:6", "1:7:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@used#",
|
"usr": "c:@F@used#",
|
||||||
"short_name": "used",
|
"short_name": "used",
|
||||||
"qualified_name": "used",
|
"qualified_name": "used",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"callers": ["2@*1:6:13", "2@*1:7:12"],
|
"callers": ["2@1:6:13", "2@1:7:12"],
|
||||||
"all_uses": ["*1:3:6", "*1:6:13", "*1:7:12"]
|
"all_uses": ["1:3:6", "1:6:13", "1:7:12"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"qualified_name": "user",
|
"qualified_name": "user",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["1@*1:6:13", "0@*1:7:3", "1@*1:7:12"],
|
"callees": ["1@1:6:13", "0@1:7:3", "1@1:7:12"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:func_usage_addr_func.cc@61@F@user#@x",
|
"usr": "c:func_usage_addr_func.cc@61@F@user#@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "x",
|
"qualified_name": "x",
|
||||||
"definition": "*1:6:8",
|
"definition": "1:6:8",
|
||||||
"all_uses": ["*1:6:8"]
|
"all_uses": ["1:6:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -15,33 +15,33 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:6:13"]
|
"all_uses": ["1:1:8", "1:6:13"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@Used#",
|
"usr": "c:@S@Foo@F@Used#",
|
||||||
"short_name": "Used",
|
"short_name": "Used",
|
||||||
"qualified_name": "Foo::Used",
|
"qualified_name": "Foo::Used",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"callers": ["1@*1:6:18"],
|
"callers": ["1@1:6:18"],
|
||||||
"all_uses": ["*1:2:8", "*1:6:18"]
|
"all_uses": ["1:2:8", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"qualified_name": "user",
|
"qualified_name": "user",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["0@*1:6:18"],
|
"callees": ["0@1:6:18"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:func_usage_addr_method.cc@53@F@user#@x",
|
"usr": "c:func_usage_addr_method.cc@53@F@user#@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "x",
|
"qualified_name": "x",
|
||||||
"definition": "*1:6:8",
|
"definition": "1:6:8",
|
||||||
"all_uses": ["*1:6:8"]
|
"all_uses": ["1:6:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,17 +12,17 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"qualified_name": "called",
|
"qualified_name": "called",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"callers": ["1@*1:3:3"],
|
"callers": ["1@1:3:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:3:3"]
|
"all_uses": ["1:1:6", "1:3:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"qualified_name": "caller",
|
"qualified_name": "caller",
|
||||||
"definition": "*1:2:6",
|
"definition": "1:2:6",
|
||||||
"callees": ["0@*1:3:3"],
|
"callees": ["0@1:3:3"],
|
||||||
"all_uses": ["*1:2:6"]
|
"all_uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -15,35 +15,34 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:6:3"],
|
"all_uses": ["1:1:8", "*1:6:3"]
|
||||||
"interesting_uses": ["*1:6:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@Used#",
|
"usr": "c:@S@Foo@F@Used#",
|
||||||
"short_name": "Used",
|
"short_name": "Used",
|
||||||
"qualified_name": "Foo::Used",
|
"qualified_name": "Foo::Used",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"callers": ["1@*1:7:6"],
|
"callers": ["1@1:7:6"],
|
||||||
"all_uses": ["*1:2:8", "*1:7:6"]
|
"all_uses": ["1:2:8", "1:7:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
"short_name": "user",
|
"short_name": "user",
|
||||||
"qualified_name": "user",
|
"qualified_name": "user",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["0@*1:7:6"],
|
"callees": ["0@1:7:6"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:func_usage_call_method.cc@53@F@user#@f",
|
"usr": "c:func_usage_call_method.cc@53@F@user#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:6:8",
|
"definition": "1:6:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:8", "*1:7:3"]
|
"all_uses": ["1:6:8", "1:7:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,26 +14,26 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:5:7",
|
"definition": "1:5:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["*1:5:7"]
|
"all_uses": ["1:5:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:func_usage_class_inline_var_def.cc@F@helper#",
|
"usr": "c:func_usage_class_inline_var_def.cc@F@helper#",
|
||||||
"short_name": "helper",
|
"short_name": "helper",
|
||||||
"qualified_name": "helper",
|
"qualified_name": "helper",
|
||||||
"definition": "*1:1:12",
|
"definition": "1:1:12",
|
||||||
"all_uses": ["*1:1:12", "*1:6:11"]
|
"all_uses": ["1:1:12", "1:6:11"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@FI@x",
|
"usr": "c:@S@Foo@FI@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "Foo::x",
|
"qualified_name": "Foo::x",
|
||||||
"definition": "*1:6:7",
|
"definition": "1:6:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:6:7"]
|
"all_uses": ["1:6:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,17 +12,17 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"callers": ["1@*1:4:3"],
|
"callers": ["1@1:4:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:4:3"]
|
"all_uses": ["1:1:6", "1:4:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
"short_name": "usage",
|
"short_name": "usage",
|
||||||
"qualified_name": "usage",
|
"qualified_name": "usage",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"callees": ["0@*1:4:3"],
|
"callees": ["0@1:4:3"],
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,35 +14,34 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:6:3"],
|
"all_uses": ["1:1:8", "*1:6:3"]
|
||||||
"interesting_uses": ["*1:6:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"callers": ["1@*1:7:6"],
|
"callers": ["1@1:7:6"],
|
||||||
"all_uses": ["*1:2:8", "*1:7:6"]
|
"all_uses": ["1:2:8", "1:7:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
"short_name": "usage",
|
"short_name": "usage",
|
||||||
"qualified_name": "usage",
|
"qualified_name": "usage",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["0@*1:7:6"],
|
"callees": ["0@1:7:6"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:func_usage_forward_decl_method.cc@53@F@usage#@f",
|
"usr": "c:func_usage_forward_decl_method.cc@53@F@usage#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:6:8",
|
"definition": "1:6:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:8", "*1:7:3"]
|
"all_uses": ["1:6:8", "1:7:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -15,17 +15,17 @@ OUTPUT:
|
|||||||
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
"usr": "c:@FT@>1#Taccept#t0.0#v#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"qualified_name": "accept",
|
"qualified_name": "accept",
|
||||||
"declaration": "*1:2:6",
|
"declaration": "1:2:6",
|
||||||
"callers": ["1@*1:5:3", "1@*1:6:3"],
|
"callers": ["1@1:5:3", "1@1:6:3"],
|
||||||
"all_uses": ["*1:2:6", "*1:5:3", "*1:6:3"]
|
"all_uses": ["1:2:6", "1:5:3", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:4:6",
|
"definition": "1:4:6",
|
||||||
"callees": ["0@*1:5:3", "0@*1:6:3"],
|
"callees": ["0@1:5:3", "0@1:6:3"],
|
||||||
"all_uses": ["*1:4:6"]
|
"all_uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,49 +16,47 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@unique_ptr",
|
"usr": "c:@ST>1#T@unique_ptr",
|
||||||
"all_uses": ["*1:2:7", "*1:6:8", "*1:7:8", "*1:9:1", "*1:10:3"],
|
"all_uses": ["1:2:7", "*1:6:8", "*1:7:8", "*1:9:1", "*1:10:3"]
|
||||||
"interesting_uses": ["*1:6:8", "*1:7:8", "*1:9:1", "*1:10:3"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@S",
|
"usr": "c:@S@S",
|
||||||
"short_name": "S",
|
"short_name": "S",
|
||||||
"qualified_name": "S",
|
"qualified_name": "S",
|
||||||
"definition": "*1:4:8",
|
"definition": "1:4:8",
|
||||||
"all_uses": ["*1:4:8", "*1:7:19", "*1:9:12", "*1:10:14"],
|
"all_uses": ["1:4:8", "*1:7:19", "*1:9:12", "*1:10:14"]
|
||||||
"interesting_uses": ["*1:7:19", "*1:9:12", "*1:10:14"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@return_type#",
|
"usr": "c:@F@return_type#",
|
||||||
"short_name": "return_type",
|
"short_name": "return_type",
|
||||||
"qualified_name": "return_type",
|
"qualified_name": "return_type",
|
||||||
"definition": "*1:9:16",
|
"definition": "1:9:16",
|
||||||
"all_uses": ["*1:9:16"]
|
"all_uses": ["1:9:16"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_as_template_parameter.cc@f0",
|
"usr": "c:type_usage_as_template_parameter.cc@f0",
|
||||||
"short_name": "f0",
|
"short_name": "f0",
|
||||||
"qualified_name": "f0",
|
"qualified_name": "f0",
|
||||||
"definition": "*1:6:25",
|
"definition": "1:6:25",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:25"]
|
"all_uses": ["1:6:25"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:type_usage_as_template_parameter.cc@f1",
|
"usr": "c:type_usage_as_template_parameter.cc@f1",
|
||||||
"short_name": "f1",
|
"short_name": "f1",
|
||||||
"qualified_name": "f1",
|
"qualified_name": "f1",
|
||||||
"definition": "*1:7:22",
|
"definition": "1:7:22",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:7:22"]
|
"all_uses": ["1:7:22"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:type_usage_as_template_parameter.cc@150@F@return_type#@local",
|
"usr": "c:type_usage_as_template_parameter.cc@150@F@return_type#@local",
|
||||||
"short_name": "local",
|
"short_name": "local",
|
||||||
"qualified_name": "local",
|
"qualified_name": "local",
|
||||||
"definition": "*1:10:18",
|
"definition": "1:10:18",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:10:18"]
|
"all_uses": ["1:10:18"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -84,74 +84,71 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>2#T#T@unique_ptr",
|
"usr": "c:@ST>2#T#T@unique_ptr",
|
||||||
"all_uses": ["*1:2:7", "*1:15:8", "*1:15:19", "*1:33:1", "*1:33:12", "*1:33:52", "*1:54:3", "*1:54:14", "*1:65:3", "*1:79:1"],
|
"all_uses": ["1:2:7", "*1:15:8", "*1:15:19", "*1:33:1", "*1:33:12", "*1:33:52", "*1:54:3", "*1:54:14", "*1:65:3", "*1:79:1"]
|
||||||
"interesting_uses": ["*1:15:8", "*1:15:19", "*1:33:1", "*1:33:12", "*1:33:52", "*1:54:3", "*1:54:14", "*1:65:3", "*1:79:1"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@S1",
|
"usr": "c:@S@S1",
|
||||||
"all_uses": ["*1:4:8", "*1:15:30", "*1:33:23", "*1:33:63", "*1:54:25", "*1:65:14", "*1:79:12"],
|
"all_uses": ["1:4:8", "*1:15:30", "*1:33:23", "*1:33:63", "*1:54:25", "*1:65:14", "*1:79:12"]
|
||||||
"interesting_uses": ["*1:15:30", "*1:33:23", "*1:33:63", "*1:54:25", "*1:65:14", "*1:79:12"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@S2",
|
"usr": "c:@S@S2",
|
||||||
"all_uses": ["*1:5:8", "*1:15:34", "*1:15:39", "*1:33:27", "*1:33:32", "*1:33:67", "*1:54:29", "*1:54:34", "*1:65:18", "*1:79:16"],
|
"all_uses": ["1:5:8", "*1:15:34", "*1:15:39", "*1:33:27", "*1:33:32", "*1:33:67", "*1:54:29", "*1:54:34", "*1:65:18", "*1:79:16"]
|
||||||
"interesting_uses": ["*1:15:34", "*1:15:39", "*1:33:27", "*1:33:32", "*1:33:67", "*1:54:29", "*1:54:34", "*1:65:18", "*1:79:16"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:64:7",
|
"definition": "1:64:7",
|
||||||
"funcs": [3],
|
"funcs": [3],
|
||||||
"all_uses": ["*1:64:7", "*1:79:21"]
|
"all_uses": ["1:64:7", "1:79:21"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@as_return_type#*$@S@unique_ptr>#$@S@S1#$@S@S2#",
|
"usr": "c:@F@as_return_type#*$@S@unique_ptr>#$@S@S1#$@S@S2#",
|
||||||
"short_name": "as_return_type",
|
"short_name": "as_return_type",
|
||||||
"qualified_name": "as_return_type",
|
"qualified_name": "as_return_type",
|
||||||
"definition": "*1:33:37",
|
"definition": "1:33:37",
|
||||||
"all_uses": ["*1:33:37"]
|
"all_uses": ["1:33:37"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@no_return_type#I#",
|
"usr": "c:@F@no_return_type#I#",
|
||||||
"short_name": "no_return_type",
|
"short_name": "no_return_type",
|
||||||
"qualified_name": "no_return_type",
|
"qualified_name": "no_return_type",
|
||||||
"definition": "*1:40:6",
|
"definition": "1:40:6",
|
||||||
"all_uses": ["*1:40:6"]
|
"all_uses": ["1:40:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@empty#",
|
"usr": "c:@F@empty#",
|
||||||
"short_name": "empty",
|
"short_name": "empty",
|
||||||
"qualified_name": "empty",
|
"qualified_name": "empty",
|
||||||
"definition": "*1:53:6",
|
"definition": "1:53:6",
|
||||||
"all_uses": ["*1:53:6"]
|
"all_uses": ["1:53:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "*1:65:23",
|
"declaration": "1:65:23",
|
||||||
"definition": "*1:79:26",
|
"definition": "1:79:26",
|
||||||
"declaring_type": 3,
|
"declaring_type": 3,
|
||||||
"all_uses": ["*1:65:23", "*1:79:26"]
|
"all_uses": ["1:65:23", "1:79:26"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@f",
|
"usr": "c:@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"declaration": "*1:15:43",
|
"declaration": "1:15:43",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:15:43"]
|
"all_uses": ["1:15:43"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:type_usage_as_template_parameter_complex.cc@1062@F@empty#@local",
|
"usr": "c:type_usage_as_template_parameter_complex.cc@1062@F@empty#@local",
|
||||||
"short_name": "local",
|
"short_name": "local",
|
||||||
"qualified_name": "local",
|
"qualified_name": "local",
|
||||||
"definition": "*1:54:39",
|
"definition": "1:54:39",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:54:39"]
|
"all_uses": ["1:54:39"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,14 +13,12 @@ OUTPUT:
|
|||||||
"usr": "c:@ST>1#T@unique_ptr",
|
"usr": "c:@ST>1#T@unique_ptr",
|
||||||
"short_name": "unique_ptr",
|
"short_name": "unique_ptr",
|
||||||
"qualified_name": "unique_ptr",
|
"qualified_name": "unique_ptr",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7", "*1:6:8"],
|
"all_uses": ["1:2:7", "*1:6:8"]
|
||||||
"interesting_uses": ["*1:6:8"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@S",
|
"usr": "c:@S@S",
|
||||||
"all_uses": ["*1:4:8", "*1:6:19"],
|
"all_uses": ["1:4:8", "*1:6:19"]
|
||||||
"interesting_uses": ["*1:6:19"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -28,9 +26,9 @@ OUTPUT:
|
|||||||
"usr": "c:type_usage_as_template_parameter_simple.cc@foo",
|
"usr": "c:type_usage_as_template_parameter_simple.cc@foo",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:6:22",
|
"definition": "1:6:22",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:22"]
|
"all_uses": ["1:6:22"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,9 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:@S@T",
|
"usr": "c:@S@T",
|
||||||
"short_name": "T",
|
"short_name": "T",
|
||||||
"qualified_name": "T",
|
"qualified_name": "T",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:3:8"],
|
"all_uses": ["1:1:8", "*1:3:8"]
|
||||||
"interesting_uses": ["*1:3:8"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -19,9 +18,9 @@ OUTPUT:
|
|||||||
"usr": "c:@t",
|
"usr": "c:@t",
|
||||||
"short_name": "t",
|
"short_name": "t",
|
||||||
"qualified_name": "t",
|
"qualified_name": "t",
|
||||||
"declaration": "*1:3:10",
|
"declaration": "1:3:10",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:3:10"]
|
"all_uses": ["1:3:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,24 +12,22 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["*1:1:8", "*1:5:3"],
|
"all_uses": ["1:1:8", "*1:5:3"]
|
||||||
"interesting_uses": ["*1:5:3"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@ImplementedType",
|
"usr": "c:@S@ImplementedType",
|
||||||
"short_name": "ImplementedType",
|
"short_name": "ImplementedType",
|
||||||
"qualified_name": "ImplementedType",
|
"qualified_name": "ImplementedType",
|
||||||
"definition": "*1:2:8",
|
"definition": "1:2:8",
|
||||||
"all_uses": ["*1:2:8", "*1:6:3"],
|
"all_uses": ["1:2:8", "*1:6:3"]
|
||||||
"interesting_uses": ["*1:6:3"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:4:8",
|
"definition": "1:4:8",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["*1:4:8"]
|
"all_uses": ["1:4:8"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -37,19 +35,19 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@FI@a",
|
"usr": "c:@S@Foo@FI@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "Foo::a",
|
"qualified_name": "Foo::a",
|
||||||
"definition": "*1:5:16",
|
"definition": "1:5:16",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"declaring_type": 2,
|
"declaring_type": 2,
|
||||||
"all_uses": ["*1:5:16"]
|
"all_uses": ["1:5:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@FI@b",
|
"usr": "c:@S@Foo@FI@b",
|
||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"qualified_name": "Foo::b",
|
"qualified_name": "Foo::b",
|
||||||
"definition": "*1:6:19",
|
"definition": "1:6:19",
|
||||||
"variable_type": 1,
|
"variable_type": 1,
|
||||||
"declaring_type": 2,
|
"declaring_type": 2,
|
||||||
"all_uses": ["*1:6:19"]
|
"all_uses": ["1:6:19"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,41 +12,39 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["*1:1:8", "*1:5:3"],
|
"all_uses": ["1:1:8", "*1:5:3"]
|
||||||
"interesting_uses": ["*1:5:3"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@ImplementedType",
|
"usr": "c:@S@ImplementedType",
|
||||||
"short_name": "ImplementedType",
|
"short_name": "ImplementedType",
|
||||||
"qualified_name": "ImplementedType",
|
"qualified_name": "ImplementedType",
|
||||||
"definition": "*1:2:8",
|
"definition": "1:2:8",
|
||||||
"all_uses": ["*1:2:8", "*1:6:3"],
|
"all_uses": ["1:2:8", "*1:6:3"]
|
||||||
"interesting_uses": ["*1:6:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@Foo#",
|
"usr": "c:@F@Foo#",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:4:6",
|
"definition": "1:4:6",
|
||||||
"all_uses": ["*1:4:6"]
|
"all_uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_declare_local.cc@67@F@Foo#@a",
|
"usr": "c:type_usage_declare_local.cc@67@F@Foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:5:16",
|
"definition": "1:5:16",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:5:16"]
|
"all_uses": ["1:5:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:type_usage_declare_local.cc@86@F@Foo#@b",
|
"usr": "c:type_usage_declare_local.cc@86@F@Foo#@b",
|
||||||
"short_name": "b",
|
"short_name": "b",
|
||||||
"qualified_name": "b",
|
"qualified_name": "b",
|
||||||
"definition": "*1:6:19",
|
"definition": "1:6:19",
|
||||||
"variable_type": 1,
|
"variable_type": 1,
|
||||||
"all_uses": ["*1:6:19"]
|
"all_uses": ["1:6:19"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,41 +9,39 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["*1:1:8", "*1:4:10"],
|
"all_uses": ["1:1:8", "*1:4:10"]
|
||||||
"interesting_uses": ["*1:4:10"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@ImplementedType",
|
"usr": "c:@S@ImplementedType",
|
||||||
"short_name": "ImplementedType",
|
"short_name": "ImplementedType",
|
||||||
"qualified_name": "ImplementedType",
|
"qualified_name": "ImplementedType",
|
||||||
"definition": "*1:2:8",
|
"definition": "1:2:8",
|
||||||
"all_uses": ["*1:2:8", "*1:4:26"],
|
"all_uses": ["1:2:8", "*1:4:26"]
|
||||||
"interesting_uses": ["*1:4:26"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#*$@S@ForwardType#$@S@ImplementedType#",
|
"usr": "c:@F@foo#*$@S@ForwardType#$@S@ImplementedType#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:4:6",
|
"definition": "1:4:6",
|
||||||
"all_uses": ["*1:4:6"]
|
"all_uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_declare_param.cc@60@F@foo#*$@S@ForwardType#$@S@ImplementedType#@f",
|
"usr": "c:type_usage_declare_param.cc@60@F@foo#*$@S@ForwardType#$@S@ImplementedType#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:4:23",
|
"definition": "1:4:23",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:4:23"]
|
"all_uses": ["1:4:23"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:type_usage_declare_param.cc@76@F@foo#*$@S@ForwardType#$@S@ImplementedType#@a",
|
"usr": "c:type_usage_declare_param.cc@76@F@foo#*$@S@ForwardType#$@S@ImplementedType#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:4:42",
|
"definition": "1:4:42",
|
||||||
"variable_type": 1,
|
"variable_type": 1,
|
||||||
"all_uses": ["*1:4:42"]
|
"all_uses": ["1:4:42"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,26 +14,25 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"all_uses": ["*1:1:8", "*1:3:10", "*1:3:18", "*1:4:10", "*1:4:18"],
|
"all_uses": ["1:1:8", "1:3:10", "1:3:18", "*1:4:10", "*1:4:18"]
|
||||||
"interesting_uses": ["*1:4:10", "*1:4:18"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:3:6",
|
"declaration": "1:3:6",
|
||||||
"definition": "*1:4:6",
|
"definition": "1:4:6",
|
||||||
"all_uses": ["*1:3:6", "*1:4:6"]
|
"all_uses": ["1:3:6", "1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_declare_param_prototype.cc@49@F@foo#*$@S@Foo#S0_#@f",
|
"usr": "c:type_usage_declare_param_prototype.cc@49@F@foo#*$@S@Foo#S0_#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:4:15",
|
"definition": "1:4:15",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:4:15"]
|
"all_uses": ["1:4:15"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -6,16 +6,15 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["*1:1:8", "*1:2:10"],
|
"all_uses": ["1:1:8", "*1:2:10"]
|
||||||
"interesting_uses": ["*1:2:10"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#*$@S@ForwardType#",
|
"usr": "c:@F@foo#*$@S@ForwardType#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:2:6",
|
"definition": "1:2:6",
|
||||||
"all_uses": ["*1:2:6"]
|
"all_uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,66 +14,65 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
"short_name": "Type",
|
"short_name": "Type",
|
||||||
"qualified_name": "Type",
|
"qualified_name": "Type",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:3:10", "*1:3:26", "*1:4:3", "*1:5:3", "*1:6:9", "*1:7:9"],
|
"all_uses": ["1:1:8", "*1:3:10", "*1:3:26", "*1:4:3", "*1:5:3", "*1:6:9", "*1:7:9"]
|
||||||
"interesting_uses": ["*1:3:10", "*1:3:26", "*1:4:3", "*1:5:3", "*1:6:9", "*1:7:9"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#&$@S@Type#&1S1_#",
|
"usr": "c:@F@foo#&$@S@Type#&1S1_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@28@F@foo#&$@S@Type#&1S1_#@a0",
|
"usr": "c:type_usage_declare_qualifiers.cc@28@F@foo#&$@S@Type#&1S1_#@a0",
|
||||||
"short_name": "a0",
|
"short_name": "a0",
|
||||||
"qualified_name": "a0",
|
"qualified_name": "a0",
|
||||||
"definition": "*1:3:16",
|
"definition": "1:3:16",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:3:16"]
|
"all_uses": ["1:3:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@38@F@foo#&$@S@Type#&1S1_#@a1",
|
"usr": "c:type_usage_declare_qualifiers.cc@38@F@foo#&$@S@Type#&1S1_#@a1",
|
||||||
"short_name": "a1",
|
"short_name": "a1",
|
||||||
"qualified_name": "a1",
|
"qualified_name": "a1",
|
||||||
"definition": "*1:3:32",
|
"definition": "1:3:32",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:3:32"]
|
"all_uses": ["1:3:32"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@59@F@foo#&$@S@Type#&1S1_#@a2",
|
"usr": "c:type_usage_declare_qualifiers.cc@59@F@foo#&$@S@Type#&1S1_#@a2",
|
||||||
"short_name": "a2",
|
"short_name": "a2",
|
||||||
"qualified_name": "a2",
|
"qualified_name": "a2",
|
||||||
"definition": "*1:4:8",
|
"definition": "1:4:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:4:8"]
|
"all_uses": ["1:4:8"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@71@F@foo#&$@S@Type#&1S1_#@a3",
|
"usr": "c:type_usage_declare_qualifiers.cc@71@F@foo#&$@S@Type#&1S1_#@a3",
|
||||||
"short_name": "a3",
|
"short_name": "a3",
|
||||||
"qualified_name": "a3",
|
"qualified_name": "a3",
|
||||||
"definition": "*1:5:9",
|
"definition": "1:5:9",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:5:9"]
|
"all_uses": ["1:5:9"]
|
||||||
}, {
|
}, {
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@84@F@foo#&$@S@Type#&1S1_#@a4",
|
"usr": "c:type_usage_declare_qualifiers.cc@84@F@foo#&$@S@Type#&1S1_#@a4",
|
||||||
"short_name": "a4",
|
"short_name": "a4",
|
||||||
"qualified_name": "a4",
|
"qualified_name": "a4",
|
||||||
"definition": "*1:6:15",
|
"definition": "1:6:15",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:15"]
|
"all_uses": ["1:6:15"]
|
||||||
}, {
|
}, {
|
||||||
"id": 5,
|
"id": 5,
|
||||||
"usr": "c:type_usage_declare_qualifiers.cc@103@F@foo#&$@S@Type#&1S1_#@a5",
|
"usr": "c:type_usage_declare_qualifiers.cc@103@F@foo#&$@S@Type#&1S1_#@a5",
|
||||||
"short_name": "a5",
|
"short_name": "a5",
|
||||||
"qualified_name": "a5",
|
"qualified_name": "a5",
|
||||||
"definition": "*1:7:21",
|
"definition": "1:7:21",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:7:21"]
|
"all_uses": ["1:7:21"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,8 +6,7 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
"all_uses": ["*1:1:8", "*1:2:8"],
|
"all_uses": ["1:1:8", "*1:2:8"]
|
||||||
"interesting_uses": ["*1:2:8"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -15,9 +14,9 @@ OUTPUT:
|
|||||||
"usr": "c:type_usage_declare_static.cc@t",
|
"usr": "c:type_usage_declare_static.cc@t",
|
||||||
"short_name": "t",
|
"short_name": "t",
|
||||||
"qualified_name": "t",
|
"qualified_name": "t",
|
||||||
"definition": "*1:2:13",
|
"definition": "1:2:13",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:2:13"]
|
"all_uses": ["1:2:13"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -23,58 +23,57 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Type",
|
"usr": "c:@S@Type",
|
||||||
"all_uses": ["*1:1:8", "*1:3:1", "*1:4:1", "*1:5:1", "*1:8:3", "*1:12:1", "*1:15:14", "*1:17:8", "*1:18:8"],
|
"all_uses": ["1:1:8", "*1:3:1", "*1:4:1", "*1:5:1", "*1:8:3", "*1:12:1", "*1:15:14", "*1:17:8", "*1:18:8"]
|
||||||
"interesting_uses": ["*1:3:1", "*1:4:1", "*1:5:1", "*1:8:3", "*1:12:1", "*1:15:14", "*1:17:8", "*1:18:8"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:7:7",
|
"definition": "1:7:7",
|
||||||
"funcs": [1, 2],
|
"funcs": [1, 2],
|
||||||
"all_uses": ["*1:7:7", "*1:12:7", "*1:13:6"]
|
"all_uses": ["1:7:7", "1:12:7", "1:13:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:4:7",
|
"declaration": "1:4:7",
|
||||||
"definition": "*1:5:7",
|
"definition": "1:5:7",
|
||||||
"all_uses": ["*1:3:7", "*1:4:7", "*1:5:7"]
|
"all_uses": ["1:3:7", "1:4:7", "1:5:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@F@Get#I#",
|
"usr": "c:@S@Foo@F@Get#I#",
|
||||||
"short_name": "Get",
|
"short_name": "Get",
|
||||||
"qualified_name": "Foo::Get",
|
"qualified_name": "Foo::Get",
|
||||||
"declaration": "*1:8:9",
|
"declaration": "1:8:9",
|
||||||
"definition": "*1:12:12",
|
"definition": "1:12:12",
|
||||||
"declaring_type": 1,
|
"declaring_type": 1,
|
||||||
"all_uses": ["*1:8:9", "*1:12:12"]
|
"all_uses": ["1:8:9", "1:12:12"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo@F@Empty#",
|
"usr": "c:@S@Foo@F@Empty#",
|
||||||
"short_name": "Empty",
|
"short_name": "Empty",
|
||||||
"qualified_name": "Foo::Empty",
|
"qualified_name": "Foo::Empty",
|
||||||
"declaration": "*1:9:8",
|
"declaration": "1:9:8",
|
||||||
"definition": "*1:13:11",
|
"definition": "1:13:11",
|
||||||
"declaring_type": 1,
|
"declaring_type": 1,
|
||||||
"all_uses": ["*1:9:8", "*1:13:11"]
|
"all_uses": ["1:9:8", "1:13:11"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@F@external#",
|
"usr": "c:@F@external#",
|
||||||
"short_name": "external",
|
"short_name": "external",
|
||||||
"qualified_name": "external",
|
"qualified_name": "external",
|
||||||
"declaration": "*1:15:20",
|
"declaration": "1:15:20",
|
||||||
"all_uses": ["*1:15:20"]
|
"all_uses": ["1:15:20"]
|
||||||
}, {
|
}, {
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"usr": "c:type_usage_on_return_type.cc@F@bar#",
|
"usr": "c:type_usage_on_return_type.cc@F@bar#",
|
||||||
"short_name": "bar",
|
"short_name": "bar",
|
||||||
"qualified_name": "bar",
|
"qualified_name": "bar",
|
||||||
"declaration": "*1:17:14",
|
"declaration": "1:17:14",
|
||||||
"definition": "*1:18:14",
|
"definition": "1:18:14",
|
||||||
"all_uses": ["*1:17:14", "*1:18:14"]
|
"all_uses": ["1:17:14", "1:18:14"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -20,71 +20,67 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"all_uses": ["*1:1:8", "*1:2:14", "*1:3:9", "*1:7:13"],
|
"all_uses": ["1:1:8", "*1:2:14", "*1:3:9", "*1:7:13"]
|
||||||
"interesting_uses": ["*1:2:14", "*1:3:9", "*1:7:13"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@Foo1",
|
"usr": "c:@Foo1",
|
||||||
"short_name": "Foo1",
|
"short_name": "Foo1",
|
||||||
"qualified_name": "Foo1",
|
"qualified_name": "Foo1",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"all_uses": ["*1:2:7", "*1:4:14", "*1:8:14"],
|
"all_uses": ["1:2:7", "*1:4:14", "*1:8:14"]
|
||||||
"interesting_uses": ["*1:4:14", "*1:8:14"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:type_usage_typedef_and_using.cc@T@Foo2",
|
"usr": "c:type_usage_typedef_and_using.cc@T@Foo2",
|
||||||
"short_name": "Foo2",
|
"short_name": "Foo2",
|
||||||
"qualified_name": "Foo2",
|
"qualified_name": "Foo2",
|
||||||
"definition": "*1:3:13",
|
"definition": "1:3:13",
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"all_uses": ["*1:3:13", "*1:9:14"],
|
"all_uses": ["1:3:13", "*1:9:14"]
|
||||||
"interesting_uses": ["*1:9:14"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@Foo3",
|
"usr": "c:@Foo3",
|
||||||
"short_name": "Foo3",
|
"short_name": "Foo3",
|
||||||
"qualified_name": "Foo3",
|
"qualified_name": "Foo3",
|
||||||
"definition": "*1:4:7",
|
"definition": "1:4:7",
|
||||||
"alias_of": 1,
|
"alias_of": 1,
|
||||||
"all_uses": ["*1:4:7", "*1:10:14"],
|
"all_uses": ["1:4:7", "*1:10:14"]
|
||||||
"interesting_uses": ["*1:10:14"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"usr": "c:@Foo4",
|
"usr": "c:@Foo4",
|
||||||
"short_name": "Foo4",
|
"short_name": "Foo4",
|
||||||
"qualified_name": "Foo4",
|
"qualified_name": "Foo4",
|
||||||
"definition": "*1:5:7",
|
"definition": "1:5:7",
|
||||||
"all_uses": ["*1:5:7"]
|
"all_uses": ["1:5:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@accept#*$@S@Foo#",
|
"usr": "c:@F@accept#*$@S@Foo#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"qualified_name": "accept",
|
"qualified_name": "accept",
|
||||||
"definition": "*1:7:6",
|
"definition": "1:7:6",
|
||||||
"all_uses": ["*1:7:6"]
|
"all_uses": ["1:7:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@accept1#**$@S@Foo#",
|
"usr": "c:@F@accept1#**$@S@Foo#",
|
||||||
"short_name": "accept1",
|
"short_name": "accept1",
|
||||||
"qualified_name": "accept1",
|
"qualified_name": "accept1",
|
||||||
"definition": "*1:8:6",
|
"definition": "1:8:6",
|
||||||
"all_uses": ["*1:8:6"]
|
"all_uses": ["1:8:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@accept2#*$@S@Foo#",
|
"usr": "c:@F@accept2#*$@S@Foo#",
|
||||||
"short_name": "accept2",
|
"short_name": "accept2",
|
||||||
"qualified_name": "accept2",
|
"qualified_name": "accept2",
|
||||||
"definition": "*1:9:6",
|
"definition": "1:9:6",
|
||||||
"all_uses": ["*1:9:6"]
|
"all_uses": ["1:9:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@F@accept3#**$@S@Foo#",
|
"usr": "c:@F@accept3#**$@S@Foo#",
|
||||||
"short_name": "accept3",
|
"short_name": "accept3",
|
||||||
"qualified_name": "accept3",
|
"qualified_name": "accept3",
|
||||||
"definition": "*1:10:6",
|
"definition": "1:10:6",
|
||||||
"all_uses": ["*1:10:6"]
|
"all_uses": ["1:10:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,25 +10,23 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@ST>1#T@Foo",
|
"usr": "c:@ST>1#T@Foo",
|
||||||
"all_uses": ["*1:2:8", "*1:4:14", "*1:5:9"],
|
"all_uses": ["1:2:8", "*1:4:14", "*1:5:9"]
|
||||||
"interesting_uses": ["*1:4:14", "*1:5:9"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@Foo1",
|
"usr": "c:@Foo1",
|
||||||
"short_name": "Foo1",
|
"short_name": "Foo1",
|
||||||
"qualified_name": "Foo1",
|
"qualified_name": "Foo1",
|
||||||
"definition": "*1:4:7",
|
"definition": "1:4:7",
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"all_uses": ["*1:4:7", "*1:5:13"],
|
"all_uses": ["1:4:7", "*1:5:13"]
|
||||||
"interesting_uses": ["*1:5:13"]
|
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:type_usage_typedef_and_using_template.cc@T@Foo2",
|
"usr": "c:type_usage_typedef_and_using_template.cc@T@Foo2",
|
||||||
"short_name": "Foo2",
|
"short_name": "Foo2",
|
||||||
"qualified_name": "Foo2",
|
"qualified_name": "Foo2",
|
||||||
"definition": "*1:5:19",
|
"definition": "1:5:19",
|
||||||
"alias_of": 0,
|
"alias_of": 0,
|
||||||
"all_uses": ["*1:5:19"]
|
"all_uses": ["1:5:19"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -17,37 +17,36 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:2:3", "*1:5:1", "*1:5:6", "*1:6:3", "*1:10:8"],
|
"all_uses": ["1:1:7", "*1:2:3", "*1:5:1", "1:5:6", "*1:6:3", "*1:10:8"]
|
||||||
"interesting_uses": ["*1:2:3", "*1:5:1", "*1:6:3", "*1:10:8"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@F@make#",
|
"usr": "c:@S@Foo@F@make#",
|
||||||
"short_name": "make",
|
"short_name": "make",
|
||||||
"qualified_name": "Foo::make",
|
"qualified_name": "Foo::make",
|
||||||
"declaration": "*1:2:8",
|
"declaration": "1:2:8",
|
||||||
"definition": "*1:5:11",
|
"definition": "1:5:11",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:8", "*1:5:11"]
|
"all_uses": ["1:2:8", "1:5:11"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:type_usage_various.cc@58@S@Foo@F@make#@f",
|
"usr": "c:type_usage_various.cc@58@S@Foo@F@make#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:6:7",
|
"definition": "1:6:7",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:6:7"]
|
"all_uses": ["1:6:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@foo",
|
"usr": "c:@foo",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"declaration": "*1:10:12",
|
"declaration": "1:10:12",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:10:12"]
|
"all_uses": ["1:10:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -22,59 +22,59 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:5:8",
|
"definition": "1:5:8",
|
||||||
"vars": [1, 0],
|
"vars": [1, 0],
|
||||||
"all_uses": ["*1:5:8", "*1:10:5", "*1:14:22", "*1:14:40"]
|
"all_uses": ["1:5:8", "1:10:5", "1:14:22", "1:14:40"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"qualified_name": "called",
|
"qualified_name": "called",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"callers": ["2@*1:14:3"],
|
"callers": ["2@1:14:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:14:3"]
|
"all_uses": ["1:1:6", "1:14:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
"short_name": "gen",
|
"short_name": "gen",
|
||||||
"qualified_name": "gen",
|
"qualified_name": "gen",
|
||||||
"declaration": "*1:3:5",
|
"declaration": "1:3:5",
|
||||||
"callers": ["2@*1:14:14"],
|
"callers": ["2@1:14:14"],
|
||||||
"all_uses": ["*1:3:5", "*1:14:14"]
|
"all_uses": ["1:3:5", "1:14:14"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:12:6",
|
"definition": "1:12:6",
|
||||||
"callees": ["0@*1:14:3", "1@*1:14:14"],
|
"callees": ["0@1:14:3", "1@1:14:14"],
|
||||||
"all_uses": ["*1:12:6"]
|
"all_uses": ["1:12:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@static_var",
|
"usr": "c:@S@Foo@static_var",
|
||||||
"short_name": "static_var",
|
"short_name": "static_var",
|
||||||
"qualified_name": "Foo::static_var",
|
"qualified_name": "Foo::static_var",
|
||||||
"declaration": "*1:6:14",
|
"declaration": "1:6:14",
|
||||||
"definition": "*1:10:10",
|
"definition": "1:10:10",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:6:14", "*1:10:10", "*1:14:45"]
|
"all_uses": ["1:6:14", "1:10:10", "1:14:45"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@FI@field_var",
|
"usr": "c:@S@Foo@FI@field_var",
|
||||||
"short_name": "field_var",
|
"short_name": "field_var",
|
||||||
"qualified_name": "Foo::field_var",
|
"qualified_name": "Foo::field_var",
|
||||||
"definition": "*1:7:7",
|
"definition": "1:7:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:7:7", "*1:14:28"]
|
"all_uses": ["1:7:7", "1:14:28"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:usage_inside_of_call.cc@145@F@foo#@a",
|
"usr": "c:usage_inside_of_call.cc@145@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:13:7",
|
"definition": "1:13:7",
|
||||||
"all_uses": ["*1:13:7", "*1:14:10"]
|
"all_uses": ["1:13:7", "1:14:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -15,25 +15,25 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#I#",
|
"usr": "c:@F@called#I#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"qualified_name": "called",
|
"qualified_name": "called",
|
||||||
"declaration": "*1:1:6",
|
"declaration": "1:1:6",
|
||||||
"callers": ["2@*1:6:3"],
|
"callers": ["2@1:6:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:6:3"]
|
"all_uses": ["1:1:6", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
"short_name": "gen",
|
"short_name": "gen",
|
||||||
"qualified_name": "gen",
|
"qualified_name": "gen",
|
||||||
"definition": "*1:3:5",
|
"definition": "1:3:5",
|
||||||
"callers": ["2@*1:6:10", "2@*1:6:18"],
|
"callers": ["2@1:6:10", "2@1:6:18"],
|
||||||
"all_uses": ["*1:3:5", "*1:6:10", "*1:6:18"]
|
"all_uses": ["1:3:5", "1:6:10", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:5:6",
|
"definition": "1:5:6",
|
||||||
"callees": ["0@*1:6:3", "1@*1:6:10", "1@*1:6:18"],
|
"callees": ["0@1:6:3", "1@1:6:10", "1@1:6:18"],
|
||||||
"all_uses": ["*1:5:6"]
|
"all_uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,25 +16,25 @@ OUTPUT:
|
|||||||
"usr": "c:@F@called#",
|
"usr": "c:@F@called#",
|
||||||
"short_name": "called",
|
"short_name": "called",
|
||||||
"qualified_name": "called",
|
"qualified_name": "called",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"callers": ["1@*1:4:13", "1@*1:7:3"],
|
"callers": ["1@1:4:13", "1@1:7:3"],
|
||||||
"all_uses": ["*1:1:6", "*1:4:13", "*1:7:3"]
|
"all_uses": ["1:1:6", "1:4:13", "1:7:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
"short_name": "caller",
|
"short_name": "caller",
|
||||||
"qualified_name": "caller",
|
"qualified_name": "caller",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"callees": ["0@*1:4:13", "0@*1:7:3"],
|
"callees": ["0@1:4:13", "0@1:7:3"],
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_call_function.cc@39@F@caller#@x",
|
"usr": "c:var_usage_call_function.cc@39@F@caller#@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "x",
|
"qualified_name": "x",
|
||||||
"definition": "*1:4:8",
|
"definition": "1:4:8",
|
||||||
"all_uses": ["*1:4:8", "*1:5:3"]
|
"all_uses": ["1:4:8", "1:5:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -25,60 +25,59 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["*1:1:7", "*1:11:3"],
|
"all_uses": ["1:1:7", "*1:11:3"]
|
||||||
"interesting_uses": ["*1:11:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@accept#I#",
|
"usr": "c:@F@accept#I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"qualified_name": "accept",
|
"qualified_name": "accept",
|
||||||
"declaration": "*1:7:6",
|
"declaration": "1:7:6",
|
||||||
"callers": ["2@*1:14:3", "2@*1:15:3", "2@*1:17:3"],
|
"callers": ["2@1:14:3", "2@1:15:3", "2@1:17:3"],
|
||||||
"all_uses": ["*1:7:6", "*1:14:3", "*1:15:3", "*1:17:3"]
|
"all_uses": ["1:7:6", "1:14:3", "1:15:3", "1:17:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@accept#*I#",
|
"usr": "c:@F@accept#*I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"qualified_name": "accept",
|
"qualified_name": "accept",
|
||||||
"declaration": "*1:8:6",
|
"declaration": "1:8:6",
|
||||||
"callers": ["2@*1:16:3"],
|
"callers": ["2@1:16:3"],
|
||||||
"all_uses": ["*1:8:6", "*1:16:3"]
|
"all_uses": ["1:8:6", "1:16:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:10:6",
|
"definition": "1:10:6",
|
||||||
"callees": ["0@*1:14:3", "0@*1:15:3", "1@*1:16:3", "0@*1:17:3"],
|
"callees": ["0@1:14:3", "0@1:15:3", "1@1:16:3", "0@1:17:3"],
|
||||||
"all_uses": ["*1:10:6"]
|
"all_uses": ["1:10:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@FI@x",
|
"usr": "c:@S@Foo@FI@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "Foo::x",
|
"qualified_name": "Foo::x",
|
||||||
"definition": "*1:3:7",
|
"definition": "1:3:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:3:7", "*1:12:5", "*1:13:5", "*1:14:12", "*1:15:12", "*1:16:13"]
|
"all_uses": ["1:3:7", "1:12:5", "1:13:5", "1:14:12", "1:15:12", "1:16:13"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@FI@y",
|
"usr": "c:@S@Foo@FI@y",
|
||||||
"short_name": "y",
|
"short_name": "y",
|
||||||
"qualified_name": "Foo::y",
|
"qualified_name": "Foo::y",
|
||||||
"definition": "*1:4:7",
|
"definition": "1:4:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:4:7", "*1:17:12"]
|
"all_uses": ["1:4:7", "1:17:12"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:var_usage_class_member.cc@105@F@foo#@f",
|
"usr": "c:var_usage_class_member.cc@105@F@foo#@f",
|
||||||
"short_name": "f",
|
"short_name": "f",
|
||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "*1:11:7",
|
"definition": "1:11:7",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:11:7", "*1:12:3", "*1:13:3", "*1:14:10", "*1:15:10", "*1:16:11", "*1:17:10"]
|
"all_uses": ["1:11:7", "1:12:3", "1:13:3", "1:14:10", "1:15:10", "1:16:11", "1:17:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -16,33 +16,33 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:8",
|
"definition": "1:1:8",
|
||||||
"all_uses": ["*1:1:8", "*1:8:10"]
|
"all_uses": ["1:1:8", "1:8:10"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@accept#I#",
|
"usr": "c:@F@accept#I#",
|
||||||
"short_name": "accept",
|
"short_name": "accept",
|
||||||
"qualified_name": "accept",
|
"qualified_name": "accept",
|
||||||
"declaration": "*1:5:6",
|
"declaration": "1:5:6",
|
||||||
"callers": ["1@*1:8:3"],
|
"callers": ["1@1:8:3"],
|
||||||
"all_uses": ["*1:5:6", "*1:8:3"]
|
"all_uses": ["1:5:6", "1:8:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:7:6",
|
"definition": "1:7:6",
|
||||||
"callees": ["0@*1:8:3"],
|
"callees": ["0@1:8:3"],
|
||||||
"all_uses": ["*1:7:6"]
|
"all_uses": ["1:7:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo@x",
|
"usr": "c:@S@Foo@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "Foo::x",
|
"qualified_name": "Foo::x",
|
||||||
"declaration": "*1:2:14",
|
"declaration": "1:2:14",
|
||||||
"all_uses": ["*1:2:14", "*1:8:15"]
|
"all_uses": ["1:2:14", "1:8:15"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,16 +12,16 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@a",
|
"usr": "c:@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"declaration": "*1:1:12",
|
"declaration": "1:1:12",
|
||||||
"all_uses": ["*1:1:12", "*1:4:3"]
|
"all_uses": ["1:1:12", "1:4:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,16 +10,16 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_func_parameter.cc@9@F@foo#I#@a",
|
"usr": "c:var_usage_func_parameter.cc@9@F@foo#I#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:1:14",
|
"definition": "1:1:14",
|
||||||
"all_uses": ["*1:1:14", "*1:2:3"]
|
"all_uses": ["1:1:14", "1:2:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -11,16 +11,16 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_local.cc@16@F@foo#@x",
|
"usr": "c:var_usage_local.cc@16@F@foo#@x",
|
||||||
"short_name": "x",
|
"short_name": "x",
|
||||||
"qualified_name": "x",
|
"qualified_name": "x",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7", "*1:3:3"]
|
"all_uses": ["1:2:7", "1:3:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -16,23 +16,23 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_shadowed_local.cc@16@F@foo#@a",
|
"usr": "c:var_usage_shadowed_local.cc@16@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7", "*1:3:3", "*1:8:3"]
|
"all_uses": ["1:2:7", "1:3:3", "1:8:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:var_usage_shadowed_local.cc@43@F@foo#@a",
|
"usr": "c:var_usage_shadowed_local.cc@43@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:5:9",
|
"definition": "1:5:9",
|
||||||
"all_uses": ["*1:5:9", "*1:6:5"]
|
"all_uses": ["1:5:9", "1:6:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -16,23 +16,23 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_shadowed_parameter.cc@9@F@foo#I#@a",
|
"usr": "c:var_usage_shadowed_parameter.cc@9@F@foo#I#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:1:14",
|
"definition": "1:1:14",
|
||||||
"all_uses": ["*1:1:14", "*1:2:3", "*1:7:3"]
|
"all_uses": ["1:1:14", "1:2:3", "1:7:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:var_usage_shadowed_parameter.cc@38@F@foo#I#@a",
|
"usr": "c:var_usage_shadowed_parameter.cc@38@F@foo#I#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:4:9",
|
"definition": "1:4:9",
|
||||||
"all_uses": ["*1:4:9", "*1:5:5"]
|
"all_uses": ["1:4:9", "1:5:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,16 +13,16 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:var_usage_static.cc@a",
|
"usr": "c:var_usage_static.cc@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:1:12",
|
"definition": "1:1:12",
|
||||||
"all_uses": ["*1:1:12", "*1:4:3"]
|
"all_uses": ["1:1:12", "1:4:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,10 +9,9 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:2:3"],
|
"all_uses": ["1:1:7", "*1:2:3"]
|
||||||
"interesting_uses": ["*1:2:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -20,10 +19,10 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@FI@member",
|
"usr": "c:@S@Foo@FI@member",
|
||||||
"short_name": "member",
|
"short_name": "member",
|
||||||
"qualified_name": "Foo::member",
|
"qualified_name": "Foo::member",
|
||||||
"definition": "*1:2:8",
|
"definition": "1:2:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:8"]
|
"all_uses": ["1:2:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -11,10 +11,9 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["*1:1:7", "*1:2:10", "*1:4:1", "*1:4:6"],
|
"all_uses": ["1:1:7", "*1:2:10", "*1:4:1", "1:4:6"]
|
||||||
"interesting_uses": ["*1:2:10", "*1:4:1"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -22,11 +21,11 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@member",
|
"usr": "c:@S@Foo@member",
|
||||||
"short_name": "member",
|
"short_name": "member",
|
||||||
"qualified_name": "Foo::member",
|
"qualified_name": "Foo::member",
|
||||||
"declaration": "*1:2:15",
|
"declaration": "1:2:15",
|
||||||
"definition": "*1:4:11",
|
"definition": "1:4:11",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["*1:2:15", "*1:4:11"]
|
"all_uses": ["1:2:15", "1:4:11"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,8 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"short_name": "Foo",
|
"short_name": "Foo",
|
||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "*1:1:7",
|
"definition": "1:1:7",
|
||||||
"all_uses": ["*1:1:7"]
|
"all_uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -18,8 +18,8 @@ OUTPUT:
|
|||||||
"usr": "c:@S@Foo@member",
|
"usr": "c:@S@Foo@member",
|
||||||
"short_name": "member",
|
"short_name": "member",
|
||||||
"qualified_name": "Foo::member",
|
"qualified_name": "Foo::member",
|
||||||
"declaration": "*1:2:14",
|
"declaration": "1:2:14",
|
||||||
"all_uses": ["*1:2:14"]
|
"all_uses": ["1:2:14"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,25 +10,24 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"all_uses": ["*1:1:8", "*1:4:3"],
|
"all_uses": ["1:1:8", "*1:4:3"]
|
||||||
"interesting_uses": ["*1:4:3"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:function_local.cc@31@F@foo#@a",
|
"usr": "c:function_local.cc@31@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:4:8",
|
"definition": "1:4:8",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:4:8"]
|
"all_uses": ["1:4:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -8,33 +8,32 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"all_uses": ["*1:1:8", "*1:3:10", "*1:3:19"],
|
"all_uses": ["1:1:8", "*1:3:10", "*1:3:19"]
|
||||||
"interesting_uses": ["*1:3:10", "*1:3:19"]
|
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
"usr": "c:@F@foo#*$@S@Foo#S0_#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:3:6",
|
"definition": "1:3:6",
|
||||||
"all_uses": ["*1:3:6"]
|
"all_uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:function_param.cc@24@F@foo#*$@S@Foo#S0_#@p0",
|
"usr": "c:function_param.cc@24@F@foo#*$@S@Foo#S0_#@p0",
|
||||||
"short_name": "p0",
|
"short_name": "p0",
|
||||||
"qualified_name": "p0",
|
"qualified_name": "p0",
|
||||||
"definition": "*1:3:15",
|
"definition": "1:3:15",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:3:15"]
|
"all_uses": ["1:3:15"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:function_param.cc@33@F@foo#*$@S@Foo#S0_#@p1",
|
"usr": "c:function_param.cc@33@F@foo#*$@S@Foo#S0_#@p1",
|
||||||
"short_name": "p1",
|
"short_name": "p1",
|
||||||
"qualified_name": "p1",
|
"qualified_name": "p1",
|
||||||
"definition": "*1:3:24",
|
"definition": "1:3:24",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["*1:3:24"]
|
"all_uses": ["1:3:24"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -8,8 +8,8 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#I#",
|
"usr": "c:@F@foo#I#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,23 +16,23 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:function_shadow_local.cc@16@F@foo#@a",
|
"usr": "c:function_shadow_local.cc@16@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7", "*1:3:3", "*1:8:3"]
|
"all_uses": ["1:2:7", "1:3:3", "1:8:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:function_shadow_local.cc@43@F@foo#@a",
|
"usr": "c:function_shadow_local.cc@43@F@foo#@a",
|
||||||
"short_name": "a",
|
"short_name": "a",
|
||||||
"qualified_name": "a",
|
"qualified_name": "a",
|
||||||
"definition": "*1:5:9",
|
"definition": "1:5:9",
|
||||||
"all_uses": ["*1:5:9", "*1:6:5"]
|
"all_uses": ["1:5:9", "1:6:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,23 +10,23 @@ OUTPUT:
|
|||||||
"usr": "c:@F@foo#I#",
|
"usr": "c:@F@foo#I#",
|
||||||
"short_name": "foo",
|
"short_name": "foo",
|
||||||
"qualified_name": "foo",
|
"qualified_name": "foo",
|
||||||
"definition": "*1:1:6",
|
"definition": "1:1:6",
|
||||||
"all_uses": ["*1:1:6"]
|
"all_uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:function_shadow_param.cc@9@F@foo#I#@p",
|
"usr": "c:function_shadow_param.cc@9@F@foo#I#@p",
|
||||||
"short_name": "p",
|
"short_name": "p",
|
||||||
"qualified_name": "p",
|
"qualified_name": "p",
|
||||||
"definition": "*1:1:14",
|
"definition": "1:1:14",
|
||||||
"all_uses": ["*1:1:14"]
|
"all_uses": ["1:1:14"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:function_shadow_param.cc@21@F@foo#I#@p",
|
"usr": "c:function_shadow_param.cc@21@F@foo#I#@p",
|
||||||
"short_name": "p",
|
"short_name": "p",
|
||||||
"qualified_name": "p",
|
"qualified_name": "p",
|
||||||
"definition": "*1:2:7",
|
"definition": "1:2:7",
|
||||||
"all_uses": ["*1:2:7"]
|
"all_uses": ["1:2:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,8 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:global_variable.cc@global",
|
"usr": "c:global_variable.cc@global",
|
||||||
"short_name": "global",
|
"short_name": "global",
|
||||||
"qualified_name": "global",
|
"qualified_name": "global",
|
||||||
"definition": "*1:1:12",
|
"definition": "1:1:12",
|
||||||
"all_uses": ["*1:1:12"]
|
"all_uses": ["1:1:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,8 +9,8 @@ OUTPUT:
|
|||||||
"usr": "c:@global",
|
"usr": "c:@global",
|
||||||
"short_name": "global",
|
"short_name": "global",
|
||||||
"qualified_name": "global",
|
"qualified_name": "global",
|
||||||
"declaration": "*1:1:12",
|
"declaration": "1:1:12",
|
||||||
"all_uses": ["*1:1:12"]
|
"all_uses": ["1:1:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
Loading…
Reference in New Issue
Block a user