namespace ns { int Foo; void Accept(int a) {} } void Runner() { ns::Accept(ns::Foo); using namespace ns; Accept(Foo); } /* OUTPUT: { "types": [], "functions": [{ "id": 0, "usr": "c:@N@ns@F@Accept#I#", "short_name": "Accept", "qualified_name": "ns::Accept", "definition": "1:3:8", "callers": ["1@1:7:7", "1@1:9:3"], "uses": ["1:3:8", "1:7:7", "1:9:3"] }, { "id": 1, "usr": "c:@F@Runner#", "short_name": "Runner", "qualified_name": "Runner", "definition": "1:6:6", "callees": ["0@1:7:7", "0@1:9:3"], "uses": ["1:6:6"] }], "variables": [{ "id": 0, "usr": "c:@N@ns@Foo", "short_name": "Foo", "qualified_name": "ns::Foo", "definition": "1:2:7", "uses": ["1:2:7", "1:7:18", "1:9:10"] }, { "id": 1, "usr": "c:namespace_reference.cc@42@N@ns@F@Accept#I#@a", "short_name": "a", "qualified_name": "a", "definition": "1:3:19", "uses": ["1:3:19"] }] } */