mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-25 09:05:10 +00:00
rename all_uses to uses
This commit is contained in:
parent
5f0f290d18
commit
a7f5231e4c
86
main.cpp
86
main.cpp
@ -211,7 +211,7 @@ struct TypeDef {
|
|||||||
|
|
||||||
// Every usage, useful for things like renames.
|
// Every usage, useful for things like renames.
|
||||||
// NOTE: Do not insert directly! Use AddUsage instead.
|
// NOTE: Do not insert directly! Use AddUsage instead.
|
||||||
std::vector<Location> all_uses;
|
std::vector<Location> uses;
|
||||||
|
|
||||||
TypeDef(TypeId id, const std::string& usr) : id(id), usr(usr) {
|
TypeDef(TypeId id, const std::string& usr) : id(id), usr(usr) {
|
||||||
assert(usr.size() > 0);
|
assert(usr.size() > 0);
|
||||||
@ -219,16 +219,16 @@ struct TypeDef {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AddUsage(Location loc, bool insert_if_not_present = true) {
|
void AddUsage(Location loc, bool insert_if_not_present = true) {
|
||||||
for (int i = all_uses.size() - 1; i >= 0; --i) {
|
for (int i = uses.size() - 1; i >= 0; --i) {
|
||||||
if (all_uses[i].IsEqualTo(loc)) {
|
if (uses[i].IsEqualTo(loc)) {
|
||||||
if (loc.interesting)
|
if (loc.interesting)
|
||||||
all_uses[i].interesting = true;
|
uses[i].interesting = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (insert_if_not_present)
|
if (insert_if_not_present)
|
||||||
all_uses.push_back(loc);
|
uses.push_back(loc);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -262,7 +262,7 @@ struct FuncDef {
|
|||||||
std::vector<FuncRef> callees;
|
std::vector<FuncRef> callees;
|
||||||
|
|
||||||
// All usages. For interesting usages, see callees.
|
// All usages. For interesting usages, see callees.
|
||||||
std::vector<Location> all_uses;
|
std::vector<Location> uses;
|
||||||
|
|
||||||
FuncDef(FuncId id, const std::string& usr) : id(id), usr(usr) {
|
FuncDef(FuncId id, const std::string& usr) : id(id), usr(usr) {
|
||||||
assert(usr.size() > 0);
|
assert(usr.size() > 0);
|
||||||
@ -287,7 +287,7 @@ struct VarDef {
|
|||||||
std::optional<TypeId> declaring_type;
|
std::optional<TypeId> declaring_type;
|
||||||
|
|
||||||
// Usages.
|
// Usages.
|
||||||
std::vector<Location> all_uses;
|
std::vector<Location> uses;
|
||||||
|
|
||||||
VarDef(VarId id, const std::string& usr) : id(id), usr(usr) {
|
VarDef(VarId id, const std::string& usr) : id(id), usr(usr) {
|
||||||
assert(usr.size() > 0);
|
assert(usr.size() > 0);
|
||||||
@ -476,7 +476,7 @@ std::string ParsingDatabase::ToString() {
|
|||||||
auto it = usr_to_type_id.find("");
|
auto it = usr_to_type_id.find("");
|
||||||
if (it != usr_to_type_id.end()) {
|
if (it != usr_to_type_id.end()) {
|
||||||
Resolve(it->second)->short_name = "<fundamental>";
|
Resolve(it->second)->short_name = "<fundamental>";
|
||||||
assert(Resolve(it->second)->all_uses.size() == 0);
|
assert(Resolve(it->second)->uses.size() == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define WRITE(name) Write(writer, #name, def.name)
|
#define WRITE(name) Write(writer, #name, def.name)
|
||||||
@ -505,7 +505,7 @@ std::string ParsingDatabase::ToString() {
|
|||||||
WRITE(types);
|
WRITE(types);
|
||||||
WRITE(funcs);
|
WRITE(funcs);
|
||||||
WRITE(vars);
|
WRITE(vars);
|
||||||
WRITE(all_uses);
|
WRITE(uses);
|
||||||
writer.EndObject();
|
writer.EndObject();
|
||||||
}
|
}
|
||||||
writer.EndArray();
|
writer.EndArray();
|
||||||
@ -527,7 +527,7 @@ std::string ParsingDatabase::ToString() {
|
|||||||
WRITE(locals);
|
WRITE(locals);
|
||||||
WRITE(callers);
|
WRITE(callers);
|
||||||
WRITE(callees);
|
WRITE(callees);
|
||||||
WRITE(all_uses);
|
WRITE(uses);
|
||||||
writer.EndObject();
|
writer.EndObject();
|
||||||
}
|
}
|
||||||
writer.EndArray();
|
writer.EndArray();
|
||||||
@ -545,8 +545,7 @@ std::string ParsingDatabase::ToString() {
|
|||||||
WRITE(definition);
|
WRITE(definition);
|
||||||
WRITE(variable_type);
|
WRITE(variable_type);
|
||||||
WRITE(declaring_type);
|
WRITE(declaring_type);
|
||||||
//WRITE(initializations);
|
WRITE(uses);
|
||||||
WRITE(all_uses);
|
|
||||||
writer.EndObject();
|
writer.EndObject();
|
||||||
}
|
}
|
||||||
writer.EndArray();
|
writer.EndArray();
|
||||||
@ -567,59 +566,6 @@ struct FileDef {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
struct Database {
|
|
||||||
std::unordered_map<std::string, TypeId> usr_to_type_id;
|
|
||||||
std::unordered_map<std::string, FuncId> usr_to_func_id;
|
|
||||||
std::unordered_map<std::string, VarId> usr_to_var_id;
|
|
||||||
|
|
||||||
std::vector<FileDef> files;
|
|
||||||
|
|
||||||
TypeId ToTypeId(const std::string& usr);
|
|
||||||
FuncId ToFuncId(const std::string& usr);
|
|
||||||
VarId ToVarId(const std::string& usr);
|
|
||||||
};
|
|
||||||
|
|
||||||
TypeId Database::ToTypeId(const std::string& usr) {
|
|
||||||
auto it = usr_to_type_id.find(usr);
|
|
||||||
assert(it != usr_to_type_id.end() && "Usr is not registered");
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
FuncId Database::ToFuncId(const std::string& usr) {
|
|
||||||
auto it = usr_to_func_id.find(usr);
|
|
||||||
assert(it != usr_to_func_id.end() && "Usr is not registered");
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
VarId Database::ToVarId(const std::string& usr) {
|
|
||||||
auto it = usr_to_var_id.find(usr);
|
|
||||||
assert(it != usr_to_var_id.end() && "Usr is not registered");
|
|
||||||
return it->second;
|
|
||||||
}
|
|
||||||
|
|
||||||
TypeDef* Resolve(FileDef* file, TypeId id) {
|
|
||||||
assert(file->id == id.file_id);
|
|
||||||
return &file->types[id.local_id];
|
|
||||||
}
|
|
||||||
FuncDef* Resolve(FileDef* file, FuncId id) {
|
|
||||||
assert(file->id == id.file_id);
|
|
||||||
return &file->funcs[id.local_id];
|
|
||||||
}
|
|
||||||
VarDef* Resolve(FileDef* file, VarId id) {
|
|
||||||
assert(file->id == id.file_id);
|
|
||||||
return &file->vars[id.local_id];
|
|
||||||
}
|
|
||||||
|
|
||||||
TypeDef* Resolve(Database* db, TypeId id) {
|
|
||||||
return Resolve(&db->files[id.file_id], id);
|
|
||||||
}
|
|
||||||
FuncDef* Resolve(Database* db, FuncId id) {
|
|
||||||
return Resolve(&db->files[id.file_id], id);
|
|
||||||
}
|
|
||||||
VarDef* Resolve(Database* db, VarId id) {
|
|
||||||
return Resolve(&db->files[id.file_id], id);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
@ -959,7 +905,7 @@ void indexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
|||||||
var_def->definition = decl_loc;
|
var_def->definition = decl_loc;
|
||||||
else
|
else
|
||||||
var_def->declaration = decl_loc;
|
var_def->declaration = decl_loc;
|
||||||
var_def->all_uses.push_back(decl_loc);
|
var_def->uses.push_back(decl_loc);
|
||||||
|
|
||||||
|
|
||||||
// Declaring variable type information. Note that we do not insert an
|
// Declaring variable type information. Note that we do not insert an
|
||||||
@ -1002,7 +948,7 @@ void indexDeclaration(CXClientData client_data, const CXIdxDeclInfo* decl) {
|
|||||||
func_def->definition = decl_loc;
|
func_def->definition = decl_loc;
|
||||||
else
|
else
|
||||||
func_def->declaration = decl_loc;
|
func_def->declaration = decl_loc;
|
||||||
func_def->all_uses.push_back(decl_loc);
|
func_def->uses.push_back(decl_loc);
|
||||||
|
|
||||||
bool is_pure_virtual = clang_CXXMethod_isPureVirtual(decl->cursor);
|
bool is_pure_virtual = clang_CXXMethod_isPureVirtual(decl->cursor);
|
||||||
bool is_ctor_or_dtor = decl->entityInfo->kind == CXIdxEntity_CXXConstructor || decl->entityInfo->kind == CXIdxEntity_CXXDestructor;
|
bool is_ctor_or_dtor = decl->entityInfo->kind == CXIdxEntity_CXXConstructor || decl->entityInfo->kind == CXIdxEntity_CXXDestructor;
|
||||||
@ -1201,7 +1147,7 @@ void indexEntityReference(CXClientData client_data, const CXIdxEntityRefInfo* re
|
|||||||
{
|
{
|
||||||
VarId var_id = db->ToVarId(ref->referencedEntity->cursor);
|
VarId var_id = db->ToVarId(ref->referencedEntity->cursor);
|
||||||
VarDef* var_def = db->Resolve(var_id);
|
VarDef* var_def = db->Resolve(var_id);
|
||||||
var_def->all_uses.push_back(db->file_db.Resolve(ref->loc, false /*interesting*/));
|
var_def->uses.push_back(db->file_db.Resolve(ref->loc, false /*interesting*/));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1232,11 +1178,11 @@ void indexEntityReference(CXClientData client_data, const CXIdxEntityRefInfo* re
|
|||||||
|
|
||||||
caller_def->callees.push_back(FuncRef(called_id, loc));
|
caller_def->callees.push_back(FuncRef(called_id, loc));
|
||||||
called_def->callers.push_back(FuncRef(caller_id, loc));
|
called_def->callers.push_back(FuncRef(caller_id, loc));
|
||||||
called_def->all_uses.push_back(loc);
|
called_def->uses.push_back(loc);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
FuncDef* called_def = db->Resolve(called_id);
|
FuncDef* called_def = db->Resolve(called_id);
|
||||||
called_def->all_uses.push_back(loc);
|
called_def->uses.push_back(loc);
|
||||||
}
|
}
|
||||||
|
|
||||||
// For constructor/destructor, also add a usage against the type. Clang
|
// For constructor/destructor, also add a usage against the type. Clang
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "1:2:7", "1:3:7", "1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:7", "1:3:3", "*1:7:3", "*1:8:3", "*1:8:17"]
|
"uses": ["1:1:7", "1:3:3", "*1:7:3", "*1:8:3", "*1:8:17"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -28,7 +28,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:3", "1:7:7", "1:8:17"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -45,7 +45,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:7:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:constructor.cc@66@F@foo#@f2",
|
"usr": "c:constructor.cc@66@F@foo#@f2",
|
||||||
@ -53,7 +53,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:8:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"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:3:3", "1:4:3", "*1:8:3"]
|
"uses": ["1:1:7", "1:3:3", "1:4:3", "*1:8:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:3", "1:8:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@F@~Foo#",
|
"usr": "c:@S@Foo@F@~Foo#",
|
||||||
@ -41,7 +41,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -49,7 +49,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:7:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -58,7 +58,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:8:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "1:2:7", "1:3:7", "1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["1:1:7"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "1:5:5"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:14", "1:5:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -15,7 +15,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:2:6", "1:3:6", "1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0, 1, 2],
|
"funcs": [0, 1, 2],
|
||||||
"all_uses": ["1:1:7", "1:7:6"]
|
"uses": ["1:1:7", "1:7:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::declonly",
|
"qualified_name": "Foo::declonly",
|
||||||
"declaration": "1:2:8",
|
"declaration": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:8"]
|
"uses": ["1:2:8"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@F@purevirtual#",
|
"usr": "c:@S@Foo@F@purevirtual#",
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo@F@def#",
|
"usr": "c:@S@Foo@F@def#",
|
||||||
@ -42,7 +42,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:8", "1:7:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:12",
|
"definition": "1:1:12",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["1:1:12"]
|
"uses": ["1:1:12"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::A",
|
"qualified_name": "Foo::A",
|
||||||
"definition": "1:2:3",
|
"definition": "1:2:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:3"]
|
"uses": ["1:2:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@E@Foo@B",
|
"usr": "c:@E@Foo@B",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::B",
|
"qualified_name": "Foo::B",
|
||||||
"definition": "1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:3"]
|
"uses": ["1:3:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:6",
|
"definition": "1:1:6",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["1:1:6"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::A",
|
"qualified_name": "Foo::A",
|
||||||
"definition": "1:2:3",
|
"definition": "1:2:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:3"]
|
"uses": ["1:2:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@E@Foo@B",
|
"usr": "c:@E@Foo@B",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::B",
|
"qualified_name": "Foo::B",
|
||||||
"definition": "1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:3"]
|
"uses": ["1:3:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:6",
|
"definition": "1:1:6",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["1:1:6"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::A",
|
"qualified_name": "Foo::A",
|
||||||
"definition": "1:2:3",
|
"definition": "1:2:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:3"]
|
"uses": ["1:2:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@E@Foo@B",
|
"usr": "c:@E@Foo@B",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::B",
|
"qualified_name": "Foo::B",
|
||||||
"definition": "1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:3"]
|
"uses": ["1:3:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -15,7 +15,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:12",
|
"definition": "1:1:12",
|
||||||
"vars": [0, 1],
|
"vars": [0, 1],
|
||||||
"all_uses": ["1:1:12", "*1:6:1", "1:6:9"]
|
"uses": ["1:1:12", "*1:6:1", "1:6:9"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::A",
|
"qualified_name": "Foo::A",
|
||||||
"definition": "1:2:3",
|
"definition": "1:2:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:3", "1:6:14"]
|
"uses": ["1:2:3", "1:6:14"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@E@Foo@B",
|
"usr": "c:@E@Foo@B",
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::B",
|
"qualified_name": "Foo::B",
|
||||||
"definition": "1:3:3",
|
"definition": "1:3:3",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:3"]
|
"uses": ["1:3:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@x",
|
"usr": "c:@x",
|
||||||
@ -41,7 +41,7 @@ OUTPUT:
|
|||||||
"qualified_name": "x",
|
"qualified_name": "x",
|
||||||
"definition": "1:6:5",
|
"definition": "1:6:5",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["1:6:5"]
|
"uses": ["1:6:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:5", "1:6:10", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -32,7 +32,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:2:24"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Derived",
|
"qualified_name": "Derived",
|
||||||
"definition": "1:2:7",
|
"definition": "1:2:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"all_uses": ["1:2:7"]
|
"uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7", "*1:8:18", "*1:13:17"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@ST>1#T@Base2",
|
"usr": "c:@ST>1#T@Base2",
|
||||||
@ -30,7 +30,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:7", "*1:11:18", "*1:13:27"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@ST>1#Ni@Derived1",
|
"usr": "c:@ST>1#Ni@Derived1",
|
||||||
@ -39,7 +39,7 @@ OUTPUT:
|
|||||||
"definition": "1:8:7",
|
"definition": "1:8:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [5],
|
"derived": [5],
|
||||||
"all_uses": ["1:8:7", "*1:13:43"]
|
"uses": ["1:8:7", "*1:13:43"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@ST>1#T@Derived2",
|
"usr": "c:@ST>1#T@Derived2",
|
||||||
@ -48,11 +48,11 @@ OUTPUT:
|
|||||||
"definition": "1:11:7",
|
"definition": "1:11:7",
|
||||||
"parents": [1],
|
"parents": [1],
|
||||||
"derived": [5],
|
"derived": [5],
|
||||||
"all_uses": ["1:11:7", "*1:13:56"]
|
"uses": ["1:11:7", "*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"]
|
"uses": ["*1:11:24"]
|
||||||
}, {
|
}, {
|
||||||
"id": 5,
|
"id": 5,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
@ -60,7 +60,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:13:7", "*1:13:33", "*1:13:65"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:2:24", "*1:3:24"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@MiddleA",
|
"usr": "c:@S@MiddleA",
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"definition": "1:2:7",
|
"definition": "1:2:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [3],
|
"derived": [3],
|
||||||
"all_uses": ["1:2:7", "*1:4:24"]
|
"uses": ["1:2:7", "*1:4:24"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@MiddleB",
|
"usr": "c:@S@MiddleB",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"definition": "1:3:7",
|
"definition": "1:3:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"derived": [3],
|
"derived": [3],
|
||||||
"all_uses": ["1:3:7", "*1:4:40"]
|
"uses": ["1:3:7", "*1:4:40"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
@ -39,7 +39,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"derived": [1],
|
"derived": [1],
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:7", "*1:4:24"]
|
"uses": ["1:1:7", "*1:4:24"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived",
|
"usr": "c:@S@Derived",
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"definition": "1:4:7",
|
"definition": "1:4:7",
|
||||||
"parents": [0],
|
"parents": [0],
|
||||||
"funcs": [1],
|
"funcs": [1],
|
||||||
"all_uses": ["1:4:7"]
|
"uses": ["1:4:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -35,7 +35,7 @@ OUTPUT:
|
|||||||
"declaration": "1:2:16",
|
"declaration": "1:2:16",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"derived": [1],
|
"derived": [1],
|
||||||
"all_uses": ["1:2:16"]
|
"uses": ["1:2:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Derived@F@foo#",
|
"usr": "c:@S@Derived@F@foo#",
|
||||||
@ -44,7 +44,7 @@ OUTPUT:
|
|||||||
"definition": "1:5:8",
|
"definition": "1:5:8",
|
||||||
"declaring_type": 1,
|
"declaring_type": 1,
|
||||||
"base": 0,
|
"base": 0,
|
||||||
"all_uses": ["1:5:8"]
|
"uses": ["1:5:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"qualified_name": "IFoo",
|
"qualified_name": "IFoo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:7"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:16"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:7"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::foo",
|
"qualified_name": "Foo::foo",
|
||||||
"declaration": "1:2:8",
|
"declaration": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:8"]
|
"uses": ["1:2:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "1:5:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:8", "1:5:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:7",
|
"definition": "1:1:7",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:7"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"qualified_name": "hello::Foo::foo",
|
"qualified_name": "hello::Foo::foo",
|
||||||
"declaration": "1:3:8",
|
"declaration": "1:3:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:8"]
|
"uses": ["1:3:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7", "1:6:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:8", "1:6:11"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:8"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::a",
|
"qualified_name": "Foo::a",
|
||||||
"definition": "1:2:7",
|
"definition": "1:2:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:7"]
|
"uses": ["1:2:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@U@Foo@FI@b",
|
"usr": "c:@U@Foo@FI@b",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::b",
|
"qualified_name": "Foo::b",
|
||||||
"definition": "1:3:8",
|
"definition": "1:3:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:8"]
|
"uses": ["1:3:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"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:6:1", "*1:8:10"]
|
"uses": ["1:1:7", "*1:6:1", "*1:8:10"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"short_name": "act",
|
"short_name": "act",
|
||||||
"qualified_name": "act",
|
"qualified_name": "act",
|
||||||
"definition": "1:8:6",
|
"definition": "1:8:6",
|
||||||
"all_uses": ["1:8:6"]
|
"uses": ["1:8:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::a",
|
"qualified_name": "Foo::a",
|
||||||
"definition": "1:2:7",
|
"definition": "1:2:7",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:2:7", "1:9:5"]
|
"uses": ["1:2:7", "1:9:5"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@U@Foo@FI@b",
|
"usr": "c:@U@Foo@FI@b",
|
||||||
@ -44,7 +44,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo::b",
|
"qualified_name": "Foo::b",
|
||||||
"definition": "1:3:8",
|
"definition": "1:3:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"all_uses": ["1:3:8"]
|
"uses": ["1:3:8"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@f",
|
"usr": "c:@f",
|
||||||
@ -52,7 +52,7 @@ OUTPUT:
|
|||||||
"qualified_name": "f",
|
"qualified_name": "f",
|
||||||
"definition": "1:6:5",
|
"definition": "1:6:5",
|
||||||
"variable_type": 0,
|
"variable_type": 0,
|
||||||
"all_uses": ["1:6:5", "1:9:3"]
|
"uses": ["1:6:5", "1:9:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:7:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@used#",
|
"usr": "c:@F@used#",
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6", "1:6:13", "1:7:12"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -42,7 +42,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:8",
|
"definition": "1:1:8",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:8", "1:6:13"]
|
"uses": ["1:1:8", "1:6:13"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"declaration": "1:2:8",
|
"declaration": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"callers": ["1@1:6:18"],
|
"callers": ["1@1:6:18"],
|
||||||
"all_uses": ["1:2:8", "1:6:18"]
|
"uses": ["1:2:8", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
@ -35,7 +35,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -43,7 +43,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:3:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:8",
|
"definition": "1:1:8",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:8", "*1:6:3"]
|
"uses": ["1:1:8", "*1:6:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"declaration": "1:2:8",
|
"declaration": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"callers": ["1@1:7:6"],
|
"callers": ["1@1:7:6"],
|
||||||
"all_uses": ["1:2:8", "1:7:6"]
|
"uses": ["1:2:8", "1:7:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@user#",
|
"usr": "c:@F@user#",
|
||||||
@ -35,7 +35,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -44,7 +44,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:8", "1:7:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:5:7",
|
"definition": "1:5:7",
|
||||||
"vars": [0],
|
"vars": [0],
|
||||||
"all_uses": ["1:5:7"]
|
"uses": ["1:5:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:12", "1:6:11"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:4:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"qualified_name": "Foo",
|
"qualified_name": "Foo",
|
||||||
"definition": "1:1:8",
|
"definition": "1:1:8",
|
||||||
"funcs": [0],
|
"funcs": [0],
|
||||||
"all_uses": ["1:1:8", "*1:6:3"]
|
"uses": ["1:1:8", "*1:6:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"declaration": "1:2:8",
|
"declaration": "1:2:8",
|
||||||
"declaring_type": 0,
|
"declaring_type": 0,
|
||||||
"callers": ["1@1:7:6"],
|
"callers": ["1@1:7:6"],
|
||||||
"all_uses": ["1:2:8", "1:7:6"]
|
"uses": ["1:2:8", "1:7:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@usage#",
|
"usr": "c:@F@usage#",
|
||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -43,7 +43,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:8", "1:7:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6", "1:5:3", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -16,14 +16,14 @@ 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"]
|
"uses": ["1:2:7", "*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"]
|
"uses": ["1:4:8", "*1:7:19", "*1:9:12", "*1:10:14"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:9:16"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -40,7 +40,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -48,7 +48,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -56,7 +56,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:10:18"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -84,15 +84,15 @@ 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"]
|
"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"]
|
||||||
}, {
|
}, {
|
||||||
"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"]
|
"uses": ["1:4:8", "*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"]
|
"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"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
@ -100,7 +100,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:64:7", "1:79:21"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -108,21 +108,21 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"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"]
|
"uses": ["1:53:6"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@S@Foo@F@foo#",
|
"usr": "c:@S@Foo@F@foo#",
|
||||||
@ -131,7 +131,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:65:23", "1:79:26"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -140,7 +140,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -148,7 +148,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:54:39"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,11 +14,11 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7", "*1:6:8"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@S",
|
"usr": "c:@S@S",
|
||||||
"all_uses": ["1:4:8", "*1:6:19"]
|
"uses": ["1:4:8", "*1:6:19"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -28,7 +28,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:22"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:8", "*1:3:8"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -20,7 +20,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,14 +12,14 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["1:1:8", "*1:5:3"]
|
"uses": ["1:1:8", "*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"]
|
"uses": ["1:2:8", "*1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:8"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -38,7 +38,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:16"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo@FI@b",
|
"usr": "c:@S@Foo@FI@b",
|
||||||
@ -47,7 +47,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:19"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,14 +12,14 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["1:1:8", "*1:5:3"]
|
"uses": ["1:1:8", "*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"]
|
"uses": ["1:2:8", "*1:6:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -44,7 +44,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:19"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,14 +9,14 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["1:1:8", "*1:4:10"]
|
"uses": ["1:1:8", "*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"]
|
"uses": ["1:2:8", "*1:4:26"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -41,7 +41,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:42"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ 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"]
|
"uses": ["1:1:8", "1:3:10", "1:3:18", "*1:4:10", "*1:4:18"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6", "1:4:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -32,7 +32,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:15"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -6,7 +6,7 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@ForwardType",
|
"usr": "c:@S@ForwardType",
|
||||||
"all_uses": ["1:1:8", "*1:2:10"]
|
"uses": ["1:1:8", "*1:2:10"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:8", "*1:3:10", "*1:3:26", "*1:4:3", "*1:5:3", "*1:6:9", "*1:7:9"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -23,7 +23,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -32,7 +32,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -40,7 +40,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -48,7 +48,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -56,7 +56,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -64,7 +64,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -72,7 +72,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:7:21"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -6,7 +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"]
|
"uses": ["1:1:8", "*1:2:8"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:13"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -23,7 +23,7 @@ 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"]
|
"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"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
@ -31,7 +31,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:7:7", "1:12:7", "1:13:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -40,7 +40,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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#",
|
||||||
@ -49,7 +49,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:8:9", "1:12:12"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@S@Foo@F@Empty#",
|
"usr": "c:@S@Foo@F@Empty#",
|
||||||
@ -58,14 +58,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"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#",
|
||||||
@ -73,7 +73,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:17:14", "1:18:14"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ 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"]
|
"uses": ["1:1:8", "*1:2:14", "*1:3:9", "*1:7:13"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@Foo1",
|
"usr": "c:@Foo1",
|
||||||
@ -28,7 +28,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7", "*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",
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:13", "*1:9:14"]
|
||||||
}, {
|
}, {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"usr": "c:@Foo3",
|
"usr": "c:@Foo3",
|
||||||
@ -44,14 +44,14 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:7", "*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"]
|
"uses": ["1:5:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -59,28 +59,28 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"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"]
|
"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"]
|
"uses": ["1:10:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ 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"]
|
"uses": ["1:2:8", "*1:4:14", "*1:5:9"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@Foo1",
|
"usr": "c:@Foo1",
|
||||||
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:7", "*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",
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:19"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": []
|
"variables": []
|
||||||
|
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:2:3", "*1:5:1", "1:5:6", "*1:6:3", "*1:10:8"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -29,7 +29,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:8", "1:5:11"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -38,7 +38,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:6:7"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@foo",
|
"usr": "c:@foo",
|
||||||
@ -46,7 +46,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:10:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -24,7 +24,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:8", "1:10:5", "1:14:22", "1:14:40"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:14:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
@ -41,7 +41,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:5", "1:14:14"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -49,7 +49,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:12:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -59,7 +59,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -67,14 +67,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"uses": ["1:13:7", "1:14:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:6:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@gen#",
|
"usr": "c:@F@gen#",
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:5", "1:6:10", "1:6:18"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6", "1:4:13", "1:7:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@caller#",
|
"usr": "c:@F@caller#",
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:8", "1:5:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:11:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -36,7 +36,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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#",
|
||||||
@ -44,7 +44,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:8:6", "1:16:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -52,7 +52,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:10:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -61,7 +61,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -69,7 +69,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -77,7 +77,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:11:7", "1:12:3", "1:13:3", "1:14:10", "1:15:10", "1:16:11", "1:17:10"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:8", "1:8:10"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -26,7 +26,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:5:6", "1:8:3"]
|
||||||
}, {
|
}, {
|
||||||
"id": 1,
|
"id": 1,
|
||||||
"usr": "c:@F@foo#",
|
"usr": "c:@F@foo#",
|
||||||
@ -34,7 +34,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:7:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -42,7 +42,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:14", "1:8:15"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -21,7 +21,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:12", "1:4:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:14", "1:2:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -12,7 +12,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -20,7 +20,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:7", "1:3:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,14 +25,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"uses": ["1:5:9", "1:6:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,14 +25,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"uses": ["1:4:9", "1:5:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -14,7 +14,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:12", "1:4:3"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:2:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -22,7 +22,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -13,7 +13,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7", "*1:2:10", "*1:4:1", "1:4:6"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:15", "1:4:11"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:7"]
|
||||||
}],
|
}],
|
||||||
"functions": [],
|
"functions": [],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
@ -19,7 +19,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:2:14"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"types": [{
|
"types": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"usr": "c:@S@Foo",
|
"usr": "c:@S@Foo",
|
||||||
"all_uses": ["1:1:8", "*1:4:3"]
|
"uses": ["1:1:8", "*1:4:3"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -18,7 +18,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -27,7 +27,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:4:8"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -8,7 +8,7 @@ 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"]
|
"uses": ["1:1:8", "*1:3:10", "*1:3:19"]
|
||||||
}],
|
}],
|
||||||
"functions": [{
|
"functions": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -16,7 +16,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,7 +25,7 @@ OUTPUT:
|
|||||||
"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"]
|
"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",
|
||||||
@ -33,7 +33,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:3:24"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -9,7 +9,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": []
|
"variables": []
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -25,14 +25,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"uses": ["1:5:9", "1:6:5"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -11,7 +11,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:6"]
|
||||||
}],
|
}],
|
||||||
"variables": [{
|
"variables": [{
|
||||||
"id": 0,
|
"id": 0,
|
||||||
@ -19,14 +19,14 @@ OUTPUT:
|
|||||||
"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"]
|
"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"]
|
"uses": ["1:2:7"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
@ -10,7 +10,7 @@ OUTPUT:
|
|||||||
"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"]
|
"uses": ["1:1:12"]
|
||||||
}]
|
}]
|
||||||
}
|
}
|
||||||
*/
|
*/
|
Loading…
Reference in New Issue
Block a user