Use clang::PrintingPolicy and remove type_printer

This commit is contained in:
Fangrui Song 2018-06-01 16:51:39 -07:00
parent 66580104ba
commit 7b1ff448b9
105 changed files with 406 additions and 491 deletions

View File

@ -216,7 +216,6 @@ target_sources(ccls PRIVATE
src/serializer.cc
src/test.cc
src/third_party_impl.cc
src/type_printer.cc
src/utils.cc
src/working_files.cc)

View File

@ -15,11 +15,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 3385168158331140247,
"detailed_name": "void Foo::Foo()",
"qual_name_offset": 5,
"detailed_name": "Foo::Foo()",
"qual_name_offset": 0,
"short_name": "Foo",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:3-3:6|15041163540773201510|2|2",
"extent": "3:3-3:11|15041163540773201510|2|0",
@ -35,7 +35,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "6:6-6:9|0|1|2",
"extent": "6:1-9:2|0|1|0",
@ -75,7 +75,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 17165811951126099095,
"detailed_name": "Foo *f2",
@ -88,7 +88,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -20,11 +20,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 3385168158331140247,
"detailed_name": "void Foo::Foo()",
"qual_name_offset": 5,
"detailed_name": "Foo::Foo()",
"qual_name_offset": 0,
"short_name": "Foo",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:3-3:6|15041163540773201510|2|2",
"extent": "3:3-3:11|15041163540773201510|2|0",
@ -40,7 +40,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "7:6-7:9|0|1|2",
"extent": "7:1-9:2|0|1|0",
@ -52,11 +52,11 @@ OUTPUT:
"callees": ["8:7-8:8|3385168158331140247|3|288", "8:7-8:8|3385168158331140247|3|288"]
}, {
"usr": 7440261702884428359,
"detailed_name": "void Foo::~Foo() noexcept",
"qual_name_offset": 5,
"detailed_name": "Foo::~Foo() noexcept",
"qual_name_offset": 0,
"short_name": "~Foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:3-4:7|15041163540773201510|2|2",
"extent": "4:3-4:12|15041163540773201510|2|0",
@ -96,7 +96,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Make",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:10|0|1|2",
"extent": "5:1-8:2|0|1|0",
@ -30,11 +30,11 @@ OUTPUT:
"callees": ["6:8-6:12|10530961286677896857|3|288", "6:8-6:12|10530961286677896857|3|288", "7:15-7:19|10530961286677896857|3|32", "7:15-7:19|10530961286677896857|3|32"]
}, {
"usr": 10530961286677896857,
"detailed_name": "void Type::Type()",
"qual_name_offset": 5,
"detailed_name": "Type::Type()",
"qual_name_offset": 0,
"short_name": "Type",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:3-2:7|13487927231218873822|2|2",
"extent": "2:3-2:12|13487927231218873822|2|0",
@ -74,19 +74,20 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 17097499197730163115,
"detailed_name": "Type foo1",
"qual_name_offset": 5,
"short_name": "foo1",
"hover": "Type foo1 = Type()",
"declarations": [],
"spell": "7:8-7:12|3957104924306079513|3|2",
"extent": "7:3-7:21|3957104924306079513|3|0",
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -14,11 +14,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 17319723337446061757,
"detailed_name": "void Foo::Foo()",
"qual_name_offset": 5,
"detailed_name": "Foo::Foo()",
"qual_name_offset": 0,
"short_name": "Foo",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:6-4:9|15041163540773201510|2|2",
"extent": "4:1-4:11|0|1|0",

View File

@ -30,11 +30,11 @@ OUTPUT: make_functions.h
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 3765833212244435302,
"detailed_name": "void Foobar::Foobar(int &&, Bar *, bool *)",
"qual_name_offset": 5,
"detailed_name": "Foobar::Foobar(int &&, Bar *, bool *)",
"qual_name_offset": 0,
"short_name": "Foobar",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "7:3-7:9|14935975554338052500|2|2",
"extent": "7:3-7:32|14935975554338052500|2|0",
@ -46,11 +46,11 @@ OUTPUT: make_functions.h
"callees": []
}, {
"usr": 13028995015627606181,
"detailed_name": "void Foobar::Foobar(int)",
"qual_name_offset": 5,
"detailed_name": "Foobar::Foobar(int)",
"qual_name_offset": 0,
"short_name": "Foobar",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "6:3-6:9|14935975554338052500|2|2",
"extent": "6:3-6:17|14935975554338052500|2|0",
@ -62,11 +62,11 @@ OUTPUT: make_functions.h
"callees": []
}, {
"usr": 13131778807733950299,
"detailed_name": "void Foobar::Foobar()",
"qual_name_offset": 5,
"detailed_name": "Foobar::Foobar()",
"qual_name_offset": 0,
"short_name": "Foobar",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:3-5:9|14935975554338052500|2|2",
"extent": "5:3-5:14|14935975554338052500|2|0",
@ -78,11 +78,11 @@ OUTPUT: make_functions.h
"callees": []
}, {
"usr": 17321436359755983845,
"detailed_name": "void Foobar::Foobar(int, Bar *, bool *)",
"qual_name_offset": 5,
"detailed_name": "Foobar::Foobar(int, Bar *, bool *)",
"qual_name_offset": 0,
"short_name": "Foobar",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:3-8:9|14935975554338052500|2|2",
"extent": "8:3-8:30|14935975554338052500|2|0",
@ -139,11 +139,11 @@ OUTPUT: make_functions.cc
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 2532818908869373467,
"detailed_name": "T *maKE_NoRefs(Args... args)",
"detailed_name": "T *maKE_NoRefs(Args ...args)",
"qual_name_offset": 3,
"short_name": "maKE_NoRefs",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "9:4-9:15|0|1|2",
"extent": "9:1-11:2|0|1|0",
@ -159,7 +159,7 @@ OUTPUT: make_functions.cc
"qual_name_offset": 5,
"short_name": "caller22",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "13:6-13:14|0|1|2",
"extent": "13:1-18:2|0|1|0",
@ -213,11 +213,11 @@ OUTPUT: make_functions.cc
"callees": []
}, {
"usr": 15793662558620604611,
"detailed_name": "T *MakeUnique(Args &&... args)",
"detailed_name": "T *MakeUnique(Args &&...args)",
"qual_name_offset": 3,
"short_name": "MakeUnique",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:4-4:14|0|1|2",
"extent": "4:1-6:2|0|1|0",
@ -352,7 +352,7 @@ OUTPUT: make_functions.cc
"type": 0,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 8463700030555379526,
"detailed_name": "Args &&... args",
@ -364,7 +364,7 @@ OUTPUT: make_functions.cc
"type": 0,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -57,7 +57,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 8,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:9|0|1|1", "2:6-2:9|0|1|1", "4:6-4:9|0|1|1"],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-3:14|0|1|0",

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:5-1:8|0|1|1", "2:5-2:8|0|1|1", "4:5-4:8|0|1|1"],
"spell": "5:5-5:8|0|1|2",
"extent": "5:1-5:36|0|1|0",
@ -53,7 +53,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 14555488990109936920,
"detailed_name": "int a",
@ -65,7 +65,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "declonly",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:16|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -27,12 +27,14 @@ OUTPUT:
"callees": []
}, {
"usr": 10939323144126021546,
"detailed_name": "void Foo::purevirtual()",
"qual_name_offset": 5,
"detailed_name": "virtual void Foo::purevirtual() = 0",
"qual_name_offset": 13,
"short_name": "purevirtual",
"kind": 6,
"storage": 1,
"declarations": ["3:16-3:27|15041163540773201510|2|1"],
"storage": 0,
"declarations": [],
"spell": "3:16-3:27|15041163540773201510|2|2",
"extent": "3:3-3:33|15041163540773201510|2|0",
"declaring_type": 15041163540773201510,
"bases": [],
"derived": [],
@ -45,7 +47,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "def",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["4:8-4:11|15041163540773201510|2|1"],
"spell": "7:11-7:14|15041163540773201510|2|2",
"extent": "7:1-7:19|0|1|0",

View File

@ -54,7 +54,7 @@ OUTPUT:
"type": 16985894625255407295,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 15962370213938840720,
"detailed_name": "Foo::B",

View File

@ -94,7 +94,7 @@ OUTPUT:
"type": 10528472276654770367,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "Foo<A>::Inner a",
@ -106,7 +106,7 @@ OUTPUT:
"type": 13938528237873543349,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -11,7 +11,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:9|0|1|1"],
"declaring_type": 0,
"bases": [],

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:9|0|1|1"],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-3:14|0|1|0",

View File

@ -11,7 +11,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-1:14|0|1|0",

View File

@ -12,11 +12,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 6666242542855173890,
"detailed_name": "void Derived::foo()",
"detailed_name": "void Derived::foo() override",
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:8-5:11|10963370434658308541|2|2",
"extent": "5:3-5:25|10963370434658308541|2|0",
@ -28,11 +28,11 @@ OUTPUT:
"callees": []
}, {
"usr": 9948027785633571339,
"detailed_name": "void Root::foo()",
"qual_name_offset": 5,
"detailed_name": "virtual void Root::foo()",
"qual_name_offset": 13,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:16-2:19|3897841498936210886|2|1"],
"declaring_type": 3897841498936210886,
"bases": [],

View File

@ -9,12 +9,14 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 3277829753446788562,
"detailed_name": "void IFoo::foo()",
"qual_name_offset": 5,
"detailed_name": "virtual void IFoo::foo() = 0",
"qual_name_offset": 13,
"short_name": "foo",
"kind": 6,
"storage": 1,
"declarations": ["2:16-2:19|9949214233977131946|2|1"],
"storage": 0,
"declarations": [],
"spell": "2:16-2:19|9949214233977131946|2|2",
"extent": "2:3-2:25|9949214233977131946|2|0",
"declaring_type": 9949214233977131946,
"bases": [],
"derived": [],

View File

@ -15,11 +15,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 8401779086123965305,
"detailed_name": "void Base1::~Base1() noexcept",
"qual_name_offset": 5,
"detailed_name": "virtual Base1::~Base1() noexcept",
"qual_name_offset": 8,
"short_name": "~Base1",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:11-5:17|15826803741381445676|2|2",
"extent": "5:3-5:23|15826803741381445676|2|0",
@ -31,11 +31,11 @@ OUTPUT:
"callees": []
}, {
"usr": 13164726294460837993,
"detailed_name": "void Derived::~Derived() noexcept",
"qual_name_offset": 5,
"detailed_name": "Derived::~Derived() noexcept override",
"qual_name_offset": 0,
"short_name": "~Derived",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:3-8:11|10963370434658308541|2|2",
"extent": "8:3-8:26|10963370434658308541|2|0",
@ -47,11 +47,11 @@ OUTPUT:
"callees": []
}, {
"usr": 16347272523198263017,
"detailed_name": "void Base0::~Base0() noexcept",
"qual_name_offset": 5,
"detailed_name": "virtual Base0::~Base0() noexcept",
"qual_name_offset": 8,
"short_name": "~Base0",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:11-2:17|11628904180681204356|2|2",
"extent": "2:3-2:23|11628904180681204356|2|0",

View File

@ -22,7 +22,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-12:2|0|1|0",
@ -89,7 +89,7 @@ OUTPUT:
"type": 14635009347499519042,
"uses": ["9:3-9:14|4259594751088586730|3|4", "10:3-10:14|4259594751088586730|3|4", "11:3-11:14|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 12666114896600231317,
"detailed_name": "int x",
@ -101,7 +101,7 @@ OUTPUT:
"type": 17,
"uses": ["5:7-5:8|0|1|4", "4:24-4:25|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 12879188959314906706,
"detailed_name": "int y",
@ -113,7 +113,7 @@ OUTPUT:
"type": 17,
"uses": ["6:7-6:8|4259594751088586730|3|4"],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -22,7 +22,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "a",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["12:1-12:20|0|1|1"],
"spell": "12:1-12:20|0|1|2",
"extent": "12:1-12:20|0|1|0",
@ -38,7 +38,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "make1",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "6:5-6:10|0|1|2",
"extent": "6:1-8:2|0|1|0",
@ -77,7 +77,7 @@ OUTPUT:
"type": 17,
"uses": ["12:14-12:19|9720930732776154610|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 4261071340275951718,
"detailed_name": "FOO",

View File

@ -14,11 +14,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 13788753348312146871,
"detailed_name": "void Foo::Foo(Foo &&)",
"qual_name_offset": 5,
"detailed_name": "Foo::Foo(Foo &&) = delete",
"qual_name_offset": 0,
"short_name": "Foo",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:12-5:15|15041163540773201510|2|2",
"extent": "5:12-5:16|15041163540773201510|2|0",
@ -100,7 +100,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:11|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:11|15041163540773201510|2|1"],
"spell": "5:11-5:14|15041163540773201510|2|2",
"extent": "5:1-5:25|0|1|0",

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:8-2:11|15041163540773201510|2|2",
"extent": "2:3-2:16|15041163540773201510|2|0",

View File

@ -15,7 +15,7 @@ OUTPUT: header.h
"qual_name_offset": 5,
"short_name": "Foo1",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "10:6-10:10|0|1|2",
"extent": "10:1-10:15|0|1|0",
@ -139,7 +139,7 @@ OUTPUT: header.h
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 6141718166919284735,
"detailed_name": "Foo3::A",
@ -177,7 +177,7 @@ OUTPUT: header.h
"type": 17,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}, {
"usr": 17716334512218775320,
"detailed_name": "Foo3::B",
@ -206,7 +206,7 @@ OUTPUT: impl.cc
"qual_name_offset": 5,
"short_name": "Impl",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:10|0|1|2",
"extent": "3:1-5:2|0|1|0",

View File

@ -15,7 +15,7 @@ OUTPUT: simple_header.h
"qual_name_offset": 5,
"short_name": "header",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["3:6-3:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -40,7 +40,7 @@ OUTPUT: simple_impl.cc
"qual_name_offset": 5,
"short_name": "impl",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:10|0|1|2",
"extent": "3:1-5:2|0|1|0",

View File

@ -9,11 +9,11 @@ OUTPUT: static.h
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 14576076421851654759,
"detailed_name": "void Buffer::CreateSharedBuffer()",
"qual_name_offset": 5,
"detailed_name": "static void Buffer::CreateSharedBuffer()",
"qual_name_offset": 12,
"short_name": "CreateSharedBuffer",
"kind": 254,
"storage": 3,
"storage": 2,
"declarations": ["4:15-4:33|9411323049603567600|2|1"],
"declaring_type": 9411323049603567600,
"bases": [],
@ -55,7 +55,7 @@ OUTPUT: static.cc
"qual_name_offset": 5,
"short_name": "CreateSharedBuffer",
"kind": 254,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:14-3:32|9411323049603567600|2|2",
"extent": "3:1-3:37|0|1|0",

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["2:6-2:9|7144845543074395457|2|1"],
"declaring_type": 7144845543074395457,
"bases": [],

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["2:6-2:9|2029211996748007610|2|1"],
"declaring_type": 2029211996748007610,
"bases": [],

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:6-2:9|2029211996748007610|2|2",
"extent": "2:1-2:14|2029211996748007610|2|0",

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["3:8-3:11|4508214972876735896|2|1"],
"declaring_type": 4508214972876735896,
"bases": [],

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["3:8-3:11|4508214972876735896|2|1"],
"spell": "6:11-6:14|4508214972876735896|2|2",
"extent": "6:1-6:19|2029211996748007610|2|0",

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:8-3:11|4508214972876735896|2|2",
"extent": "3:3-3:16|4508214972876735896|2|0",

View File

@ -24,7 +24,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "func",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "11:6-11:10|0|1|2",
"extent": "11:1-14:2|0|1|0",
@ -149,7 +149,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 7657277353101371136,
"detailed_name": "int b",
@ -162,7 +162,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 15042442838933090518,
"detailed_name": "int foo::bar::baz::qux",
@ -175,7 +175,7 @@ OUTPUT:
"type": 17,
"uses": ["12:26-12:29|0|1|4", "13:16-13:19|0|1|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -20,7 +20,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Runner",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "6:6-6:12|0|1|2",
"extent": "6:1-10:2|0|1|0",
@ -36,7 +36,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:8-3:14|11072669167287398027|2|2",
"extent": "3:3-3:24|11072669167287398027|2|0",
@ -109,7 +109,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 12898699035586282159,
"detailed_name": "int ns::Foo",
@ -121,7 +121,7 @@ OUTPUT:
"type": 17,
"uses": ["7:18-7:21|631910859630953711|3|4", "9:10-9:13|631910859630953711|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "operator()",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["3:8-3:18|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -31,7 +31,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "operator()",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["4:7-4:17|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -45,7 +45,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "operator()",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:8-2:18|15041163540773201510|2|2",
"extent": "2:3-2:27|15041163540773201510|2|0",
@ -61,7 +61,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "operator+=",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["7:6-7:17|0|1|1"],
"declaring_type": 0,
"bases": [],

View File

@ -13,11 +13,11 @@ OUTPUT: static_function_in_type.h
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 17019747379608639279,
"detailed_name": "void ns::Foo::Register(ns::Manager *)",
"qual_name_offset": 5,
"detailed_name": "static void ns::Foo::Register(ns::Manager *)",
"qual_name_offset": 12,
"short_name": "Register",
"kind": 254,
"storage": 3,
"storage": 2,
"declarations": ["6:15-6:23|17262466801709381811|2|1"],
"declaring_type": 17262466801709381811,
"bases": [],
@ -106,7 +106,7 @@ OUTPUT: static_function_in_type.cc
"qual_name_offset": 5,
"short_name": "Register",
"kind": 254,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:11-5:19|17262466801709381811|2|2",
"extent": "5:1-6:2|11072669167287398027|2|0",
@ -191,7 +191,7 @@ OUTPUT: static_function_in_type.cc
"type": 1972401196751872203,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Bar",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["5:8-5:11|15041163540773201510|2|1"],
"spell": "8:11-8:14|15041163540773201510|2|2",
"extent": "8:1-8:36|0|1|0",

View File

@ -138,7 +138,7 @@ OUTPUT:
"type": 1532099849728741556,
"uses": ["13:26-13:36|0|1|4", "14:27-14:37|0|1|4"],
"kind": 8,
"storage": 1
"storage": 0
}, {
"usr": 9008550860229740818,
"detailed_name": "int ns::Foo2",
@ -151,7 +151,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 12898699035586282159,
"detailed_name": "int ns::Foo",
@ -164,7 +164,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -31,7 +31,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:6-8:9|0|1|2",
"extent": "8:1-8:11|0|1|0",
@ -47,7 +47,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "bar",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["4:8-4:11|8402783583255987702|2|1"],
"declaring_type": 8402783583255987702,
"bases": [],

View File

@ -18,11 +18,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 8221803074608342407,
"detailed_name": "int ns::Foo::foo()",
"qual_name_offset": 4,
"detailed_name": "static int ns::Foo::foo()",
"qual_name_offset": 11,
"short_name": "foo",
"kind": 254,
"storage": 3,
"storage": 2,
"declarations": [],
"spell": "5:16-5:19|14042997404480181958|2|2",
"extent": "5:5-7:6|14042997404480181958|2|0",
@ -116,7 +116,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 15768138241775955040,
"detailed_name": "int ns::a",
@ -129,7 +129,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -79,7 +79,7 @@ OUTPUT:
"type": 14042997404480181958,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 15768138241775955040,
"detailed_name": "Foo<int> ns::a",
@ -91,7 +91,7 @@ OUTPUT:
"type": 14042997404480181958,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -49,11 +49,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 6113470698424012876,
"detailed_name": "void vector::clear()",
"qual_name_offset": 5,
"detailed_name": "void vector<Z2, allocator<Z2> >::clear()",
"qual_name_offset": 31,
"short_name": "clear",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["27:8-27:13|1663022413889915338|2|1"],
"declaring_type": 1663022413889915338,
"bases": [],
@ -67,7 +67,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["43:6-43:9|0|1|1"],
"spell": "39:6-39:9|0|1|2",
"extent": "39:1-39:21|0|1|0",
@ -83,7 +83,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "clear",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["13:8-13:13|7440942986741176606|2|1"],
"declaring_type": 7440942986741176606,
"bases": [],
@ -338,7 +338,7 @@ OUTPUT:
"type": 16155717907537731864,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 2933643612409209903,
"detailed_name": "function<void (int)> f",
@ -350,7 +350,7 @@ OUTPUT:
"type": 218068462278884837,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 3566687051827176322,
"detailed_name": "vector<Z1> vz1",
@ -362,7 +362,7 @@ OUTPUT:
"type": 7440942986741176606,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 4917621020431490070,
"detailed_name": "Enum::Enum1",
@ -387,7 +387,7 @@ OUTPUT:
"type": 7440942986741176606,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 13914496963221806870,
"detailed_name": "const int kOnst",
@ -400,7 +400,7 @@ OUTPUT:
"type": 17,
"uses": ["43:27-43:32|0|1|4"],
"kind": 13,
"storage": 3
"storage": 2
}, {
"usr": 15477793821005285152,
"detailed_name": "Enum::Enum0",
@ -425,7 +425,7 @@ OUTPUT:
"type": 7440942986741176606,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 17826688417349629938,
"detailed_name": "T Value",
@ -437,7 +437,7 @@ OUTPUT:
"type": 0,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -24,11 +24,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 11994188353303124840,
"detailed_name": "void Template::Foo()",
"qual_name_offset": 5,
"detailed_name": "template <class T> void Template::Foo()",
"qual_name_offset": 24,
"short_name": "Foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["3:8-3:11|17107291254533526269|2|1", "10:22-10:25|0|1|1"],
"spell": "7:19-7:22|17107291254533526269|2|2",
"extent": "6:1-7:24|0|1|0",

View File

@ -15,11 +15,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 8340731781048851399,
"detailed_name": "int Foo::foo()",
"qual_name_offset": 4,
"detailed_name": "static int Foo::foo()",
"qual_name_offset": 11,
"short_name": "foo",
"kind": 254,
"storage": 3,
"storage": 2,
"declarations": [],
"spell": "3:14-3:17|10528472276654770367|2|2",
"extent": "3:3-5:4|10528472276654770367|2|0",
@ -75,7 +75,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "int a",
@ -88,7 +88,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -16,11 +16,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 9034026360701857235,
"detailed_name": "int Foo::foo()",
"qual_name_offset": 4,
"detailed_name": "static int Foo::foo()",
"qual_name_offset": 11,
"short_name": "foo",
"kind": 254,
"storage": 3,
"storage": 2,
"declarations": [],
"spell": "4:14-4:17|10528472276654770367|2|2",
"extent": "4:3-6:4|10528472276654770367|2|0",
@ -76,7 +76,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "int a",
@ -89,7 +89,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -113,7 +113,7 @@ OUTPUT:
"type": 13938528237873543349,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "Foo<A>::Inner a",
@ -125,7 +125,7 @@ OUTPUT:
"type": 13938528237873543349,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -57,7 +57,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 13545144895171991916,
"detailed_name": "const int Foo::var",
@ -68,7 +68,7 @@ OUTPUT:
"type": 17,
"uses": ["6:19-6:22|0|1|4", "7:20-7:23|0|1|4"],
"kind": 8,
"storage": 3
"storage": 2
}, {
"usr": 16721564935990383768,
"detailed_name": "int a",
@ -81,7 +81,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -16,11 +16,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 326583651986177228,
"detailed_name": "int foo()",
"qual_name_offset": 4,
"detailed_name": "static int foo()",
"qual_name_offset": 11,
"short_name": "foo",
"kind": 12,
"storage": 3,
"storage": 2,
"declarations": [],
"spell": "2:12-2:15|0|1|2",
"extent": "2:1-4:2|0|1|0",
@ -59,7 +59,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "int a",
@ -72,7 +72,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -39,7 +39,7 @@ OUTPUT:
"type": 10528472276654770367,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "Foo<int> a",
@ -51,7 +51,7 @@ OUTPUT:
"type": 10528472276654770367,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -91,13 +91,14 @@ OUTPUT:
"detailed_name": "T var",
"qual_name_offset": 2,
"short_name": "var",
"hover": "T var = T()",
"declarations": [],
"spell": "5:3-5:6|0|1|2",
"extent": "5:1-5:12|0|1|0",
"type": 0,
"uses": ["7:7-7:10|0|1|4", "8:7-8:10|0|1|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 12028309045033782423,
"detailed_name": "B b",
@ -110,7 +111,7 @@ OUTPUT:
"type": 13892793056005362145,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16721564935990383768,
"detailed_name": "A a",
@ -123,7 +124,7 @@ OUTPUT:
"type": 6697181287623958829,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -76,6 +76,7 @@ OUTPUT:
"detailed_name": "float [3] vector3::v",
"qual_name_offset": 10,
"short_name": "v",
"hover": "float [3] vector3::v[3]",
"declarations": [],
"spell": "3:9-3:10|17937907487590875128|2|2",
"extent": "3:3-3:13|17937907487590875128|2|0",

View File

@ -8,11 +8,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 8105378401105136463,
"detailed_name": "func g",
"qual_name_offset": 5,
"detailed_name": "static int g(const int *, const int *)",
"qual_name_offset": 11,
"short_name": "g",
"kind": 12,
"storage": 3,
"storage": 2,
"declarations": ["2:13-2:14|0|1|1"],
"declaring_type": 0,
"bases": [],

View File

@ -22,7 +22,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "act",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:6-8:9|0|1|2",
"extent": "8:1-10:2|0|1|0",
@ -98,7 +98,7 @@ OUTPUT:
"type": 8501689086387244262,
"uses": ["9:3-9:4|13982179977217945200|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 8804696910588009104,
"detailed_name": "bool Foo::b",

View File

@ -19,7 +19,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:12|0|1|2",
"extent": "1:1-1:17|0|1|0",
@ -31,11 +31,11 @@ OUTPUT:
"callees": []
}, {
"usr": 3385168158331140247,
"detailed_name": "void Foo::Foo()",
"qual_name_offset": 5,
"detailed_name": "Foo::Foo()",
"qual_name_offset": 0,
"short_name": "Foo",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": ["4:3-4:6|15041163540773201510|2|1"],
"spell": "7:6-7:9|15041163540773201510|2|2",
"extent": "7:1-9:2|0|1|0",

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["3:6-3:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -31,7 +31,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "caller",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:12|0|1|2",
"extent": "5:1-7:2|0|1|0",

View File

@ -22,7 +22,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -36,7 +36,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:6-8:9|0|1|2",
"extent": "8:1-10:2|0|1|0",
@ -52,7 +52,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "caller",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:6-4:12|0|1|2",
"extent": "4:1-6:2|0|1|0",

View File

@ -19,7 +19,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:5-5:11|0|1|2",
"extent": "5:1-5:27|0|1|0",
@ -31,11 +31,11 @@ OUTPUT:
"callees": []
}, {
"usr": 10544127002917214589,
"detailed_name": "void Wrapper::Wrapper(int i)",
"qual_name_offset": 5,
"detailed_name": "Wrapper::Wrapper(int i)",
"qual_name_offset": 0,
"short_name": "Wrapper",
"kind": 9,
"storage": 1,
"storage": 0,
"declarations": ["2:3-2:10|13611487872560323389|2|1"],
"declaring_type": 13611487872560323389,
"bases": [],
@ -49,7 +49,7 @@ OUTPUT:
"qual_name_offset": 8,
"short_name": "caller",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "7:9-7:15|0|1|2",
"extent": "7:1-9:2|0|1|0",

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "used",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:10|0|1|2",
"extent": "3:1-3:15|0|1|0",
@ -34,7 +34,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "user",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:10|0|1|2",
"extent": "5:1-8:2|0|1|0",
@ -50,7 +50,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "consume",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:13|0|1|2",
"extent": "1:1-1:28|0|1|0",
@ -73,7 +73,7 @@ OUTPUT:
"type": 0,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "user",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:10|0|1|2",
"extent": "5:1-7:2|0|1|0",
@ -34,7 +34,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Used",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:12|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -66,13 +66,14 @@ OUTPUT:
"detailed_name": "void (Foo::*)() x",
"qual_name_offset": 16,
"short_name": "x",
"hover": "void (Foo::*)() x = &Foo::Used",
"declarations": [],
"spell": "6:8-6:9|9376923949268137283|3|2",
"extent": "6:3-6:22|9376923949268137283|3|0",
"type": 0,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -14,7 +14,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:12|0|1|2",
"extent": "1:1-1:17|0|1|0",
@ -30,7 +30,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "caller",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:6-2:12|0|1|2",
"extent": "2:1-4:2|0|1|0",

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "user",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:10|0|1|2",
"extent": "5:1-8:2|0|1|0",
@ -34,7 +34,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Used",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:12|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -73,7 +73,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": ["7:3-7:4|9376923949268137283|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -13,11 +13,11 @@ OUTPUT:
"skipped_by_preprocessor": [],
"usr2func": [{
"usr": 9630503130605430498,
"detailed_name": "int helper()",
"qual_name_offset": 4,
"detailed_name": "static int helper()",
"qual_name_offset": 11,
"short_name": "helper",
"kind": 12,
"storage": 3,
"storage": 2,
"declarations": [],
"spell": "1:12-1:18|0|1|2",
"extent": "1:1-3:2|0|1|0",

View File

@ -14,7 +14,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:9|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -28,7 +28,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "usage",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:11|0|1|2",
"extent": "3:1-5:2|0|1|0",

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "usage",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:11|0|1|2",
"extent": "5:1-8:2|0|1|0",
@ -33,7 +33,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:11|15041163540773201510|2|1"],
"declaring_type": 15041163540773201510,
"bases": [],
@ -72,7 +72,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": ["7:3-7:4|6767773193109753523|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:6-4:9|0|1|2",
"extent": "4:1-7:2|0|1|0",
@ -33,7 +33,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["2:6-2:12|0|1|1"],
"declaring_type": 0,
"bases": [],

View File

@ -21,7 +21,7 @@ OUTPUT:
"qual_name_offset": 15,
"short_name": "return_type",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "9:16-9:27|0|1|2",
"extent": "9:1-12:2|0|1|0",
@ -78,7 +78,7 @@ OUTPUT:
"type": 3286534761799572592,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 12857919739649552168,
"detailed_name": "unique_ptr<bool> f0",
@ -90,7 +90,7 @@ OUTPUT:
"type": 3286534761799572592,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}, {
"usr": 18075066956054788088,
"detailed_name": "unique_ptr<S> f1",
@ -102,7 +102,7 @@ OUTPUT:
"type": 3286534761799572592,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -89,7 +89,7 @@ OUTPUT:
"qual_name_offset": 36,
"short_name": "as_return_type",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "33:37-33:51|0|1|2",
"extent": "33:1-33:92|0|1|0",
@ -105,7 +105,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "no_return_type",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "40:6-40:20|0|1|2",
"extent": "40:1-40:28|0|1|0",
@ -121,7 +121,7 @@ OUTPUT:
"qual_name_offset": 20,
"short_name": "foo",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["65:23-65:26|15041163540773201510|2|1"],
"spell": "79:26-79:29|15041163540773201510|2|2",
"extent": "79:1-79:51|0|1|0",
@ -137,7 +137,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "empty",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "53:6-53:11|0|1|2",
"extent": "53:1-55:2|0|1|0",
@ -222,7 +222,7 @@ OUTPUT:
"type": 14209198335088845323,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 2933643612409209903,
"detailed_name": "unique_ptr<unique_ptr<S1, S2>, S2> f",
@ -232,7 +232,7 @@ OUTPUT:
"type": 14209198335088845323,
"uses": [],
"kind": 13,
"storage": 2
"storage": 1
}]
}
*/

View File

@ -55,7 +55,7 @@ OUTPUT:
"type": 3286534761799572592,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -34,7 +34,7 @@ OUTPUT:
"type": 5673439900521455039,
"uses": [],
"kind": 13,
"storage": 2
"storage": 1
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:6-4:9|0|1|2",
"extent": "4:1-7:2|0|1|0",
@ -72,7 +72,7 @@ OUTPUT:
"type": 8508299082070213750,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 16374832544037266261,
"detailed_name": "ForwardType *a",
@ -84,7 +84,7 @@ OUTPUT:
"type": 13749354388332789217,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -14,7 +14,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "4:6-4:9|0|1|2",
"extent": "4:1-4:47|0|1|0",
@ -69,7 +69,7 @@ OUTPUT:
"type": 8508299082070213750,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 13058491096576226774,
"detailed_name": "ForwardType *f",
@ -81,7 +81,7 @@ OUTPUT:
"type": 13749354388332789217,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -19,7 +19,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["3:6-3:9|0|1|1"],
"spell": "4:6-4:9|0|1|2",
"extent": "4:1-4:26|0|1|0",
@ -57,7 +57,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -11,7 +11,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:6-2:9|0|1|2",
"extent": "2:1-2:26|0|1|0",

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-8:2|0|1|0",
@ -57,7 +57,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 6081981442495435784,
"detailed_name": "Type *a3",
@ -69,7 +69,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 7997456978847868736,
"detailed_name": "Type &a0",
@ -81,7 +81,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 14939253431683105646,
"detailed_name": "const Type *const a5",
@ -94,7 +94,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 15429032129697337561,
"detailed_name": "Type a2",
@ -106,7 +106,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 17228576662112939520,
"detailed_name": "const Type &a1",
@ -118,7 +118,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -35,7 +35,7 @@ OUTPUT:
"type": 13487927231218873822,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -28,7 +28,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "Empty",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["9:8-9:13|15041163540773201510|2|1"],
"spell": "13:11-13:16|15041163540773201510|2|2",
"extent": "13:1-13:21|0|1|0",
@ -44,7 +44,7 @@ OUTPUT:
"qual_name_offset": 6,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["3:7-3:10|0|1|1", "4:7-4:10|0|1|1"],
"spell": "5:7-5:10|0|1|2",
"extent": "5:1-5:32|0|1|0",
@ -56,11 +56,11 @@ OUTPUT:
"callees": []
}, {
"usr": 7746867874366499515,
"detailed_name": "const Type &external()",
"qual_name_offset": 12,
"detailed_name": "extern const Type &external()",
"qual_name_offset": 19,
"short_name": "external",
"kind": 12,
"storage": 2,
"storage": 1,
"declarations": ["15:20-15:28|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -74,7 +74,7 @@ OUTPUT:
"qual_name_offset": 6,
"short_name": "Get",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["8:9-8:12|15041163540773201510|2|1"],
"spell": "12:12-12:15|15041163540773201510|2|2",
"extent": "12:1-12:40|0|1|0",
@ -86,11 +86,11 @@ OUTPUT:
"callees": []
}, {
"usr": 18408440185620243373,
"detailed_name": "Type *bar()",
"qual_name_offset": 6,
"detailed_name": "static Type *bar()",
"qual_name_offset": 13,
"short_name": "bar",
"kind": 12,
"storage": 3,
"storage": 2,
"declarations": ["17:14-17:17|0|1|1"],
"spell": "18:14-18:17|0|1|2",
"extent": "18:1-18:39|0|1|0",

View File

@ -20,7 +20,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept1",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "8:6-8:13|0|1|2",
"extent": "8:1-8:23|0|1|0",
@ -36,7 +36,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "7:6-7:12|0|1|2",
"extent": "7:1-7:21|0|1|0",
@ -52,7 +52,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept2",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "9:6-9:13|0|1|2",
"extent": "9:1-9:23|0|1|0",
@ -68,7 +68,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept3",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "10:6-10:13|0|1|2",
"extent": "10:1-10:23|0|1|0",

View File

@ -20,7 +20,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "make",
"kind": 6,
"storage": 1,
"storage": 0,
"declarations": ["2:8-2:12|15041163540773201510|2|1"],
"spell": "5:11-5:15|15041163540773201510|2|2",
"extent": "5:1-8:2|0|1|0",
@ -58,7 +58,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 2
"storage": 1
}, {
"usr": 16380484338511689669,
"detailed_name": "Foo f",
@ -70,7 +70,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -25,7 +25,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "12:6-12:9|0|1|2",
"extent": "12:1-15:2|0|1|0",
@ -41,7 +41,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "gen",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["3:5-3:8|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -55,7 +55,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -115,7 +115,7 @@ OUTPUT:
"type": 17,
"uses": ["14:10-14:11|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 9648311402855509901,
"detailed_name": "int Foo::field_var",
@ -140,7 +140,7 @@ OUTPUT:
"type": 17,
"uses": ["14:45-14:55|4259594751088586730|3|4"],
"kind": 8,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -17,7 +17,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "5:6-5:9|0|1|2",
"extent": "5:1-7:2|0|1|0",
@ -33,7 +33,7 @@ OUTPUT:
"qual_name_offset": 4,
"short_name": "gen",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:5-3:8|0|1|2",
"extent": "3:1-3:24|0|1|0",
@ -49,7 +49,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["1:6-1:12|0|1|1"],
"declaring_type": 0,
"bases": [],

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "called",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:12|0|1|2",
"extent": "1:1-1:17|0|1|0",
@ -34,7 +34,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "caller",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:12|0|1|2",
"extent": "3:1-8:2|0|1|0",
@ -51,13 +51,14 @@ OUTPUT:
"detailed_name": "void (*)() x",
"qual_name_offset": 11,
"short_name": "x",
"hover": "void (*)() x = &called",
"declarations": [],
"spell": "4:8-4:9|11404881820527069090|3|2",
"extent": "4:3-4:19|11404881820527069090|3|0",
"type": 0,
"uses": ["5:3-5:4|11404881820527069090|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -28,7 +28,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "10:6-10:9|0|1|2",
"extent": "10:1-18:2|0|1|0",
@ -44,7 +44,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["8:6-8:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -58,7 +58,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["7:6-7:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -141,7 +141,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": ["12:3-12:4|4259594751088586730|3|4", "13:3-13:4|4259594751088586730|3|4", "14:10-14:11|4259594751088586730|3|4", "15:10-15:11|4259594751088586730|3|4", "16:11-16:12|4259594751088586730|3|4", "17:10-17:11|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -19,7 +19,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "7:6-7:9|0|1|2",
"extent": "7:1-9:2|0|1|0",
@ -35,7 +35,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "accept",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": ["5:6-5:12|0|1|1"],
"declaring_type": 0,
"bases": [],
@ -86,7 +86,7 @@ OUTPUT:
"type": 17,
"uses": ["8:15-8:16|4259594751088586730|3|4"],
"kind": 8,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -63,7 +63,7 @@ OUTPUT:
"type": 5792006888140599735,
"uses": [],
"kind": 8,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -14,7 +14,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-5:2|0|1|0",
@ -50,7 +50,7 @@ OUTPUT:
"type": 17,
"uses": ["4:3-4:4|4259594751088586730|3|4"],
"kind": 13,
"storage": 2
"storage": 1
}]
}
*/

View File

@ -12,7 +12,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-3:2|0|1|0",
@ -50,7 +50,7 @@ OUTPUT:
"type": 17,
"uses": ["2:3-2:4|11998306017310352355|3|4"],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-4:2|0|1|0",
@ -51,7 +51,7 @@ OUTPUT:
"type": 17,
"uses": ["3:3-3:4|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-9:2|0|1|0",
@ -56,7 +56,7 @@ OUTPUT:
"type": 17,
"uses": ["3:3-3:4|4259594751088586730|3|4", "8:3-8:4|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 14036425367303419504,
"detailed_name": "int a",
@ -68,7 +68,7 @@ OUTPUT:
"type": 17,
"uses": ["6:5-6:6|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-8:2|0|1|0",
@ -56,7 +56,7 @@ OUTPUT:
"type": 17,
"uses": ["5:5-5:6|11998306017310352355|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 11608231465452906059,
"detailed_name": "int a",
@ -68,7 +68,7 @@ OUTPUT:
"type": 17,
"uses": ["2:3-2:4|11998306017310352355|3|4", "7:3-7:4|11998306017310352355|3|4"],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-5:2|0|1|0",
@ -53,7 +53,7 @@ OUTPUT:
"type": 17,
"uses": ["4:3-4:4|4259594751088586730|3|4"],
"kind": 13,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -42,7 +42,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 8,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -49,7 +49,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 8,
"storage": 3
"storage": 2
}]
}
*/

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "f",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "2:6-2:7|0|1|2",
"extent": "2:1-5:2|0|1|0",
@ -49,25 +49,27 @@ OUTPUT:
"detailed_name": "Foo *x",
"qual_name_offset": 5,
"short_name": "x",
"hover": "Foo *x = new Foo()",
"declarations": [],
"spell": "3:8-3:9|880549676430489861|3|2",
"extent": "3:3-3:21|880549676430489861|3|0",
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 18422884837902130475,
"detailed_name": "Foo *y",
"qual_name_offset": 5,
"short_name": "y",
"hover": "Foo *y = new Foo()",
"declarations": [],
"spell": "4:9-4:10|880549676430489861|3|2",
"extent": "4:3-4:22|880549676430489861|3|0",
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -15,7 +15,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-5:2|0|1|0",
@ -53,7 +53,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -13,7 +13,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "3:6-3:9|0|1|2",
"extent": "3:1-3:30|0|1|0",
@ -51,7 +51,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 8730439006497971620,
"detailed_name": "Foo *p0",
@ -63,7 +63,7 @@ OUTPUT:
"type": 15041163540773201510,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -10,7 +10,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-1:22|0|1|0",

View File

@ -18,7 +18,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-9:2|0|1|0",
@ -56,7 +56,7 @@ OUTPUT:
"type": 17,
"uses": ["3:3-3:4|4259594751088586730|3|4", "8:3-8:4|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}, {
"usr": 4508045017817092115,
"detailed_name": "int a",
@ -68,7 +68,7 @@ OUTPUT:
"type": 17,
"uses": ["6:5-6:6|4259594751088586730|3|4"],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -12,7 +12,7 @@ OUTPUT:
"qual_name_offset": 5,
"short_name": "foo",
"kind": 12,
"storage": 1,
"storage": 0,
"declarations": [],
"spell": "1:6-1:9|0|1|2",
"extent": "1:1-3:2|0|1|0",
@ -50,7 +50,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 253,
"storage": 1
"storage": 0
}, {
"usr": 11404600766177939811,
"detailed_name": "int p",
@ -63,7 +63,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 1
"storage": 0
}]
}
*/

View File

@ -33,7 +33,7 @@ OUTPUT:
"type": 17,
"uses": [],
"kind": 13,
"storage": 3
"storage": 2
}]
}
*/

Some files were not shown because too many files have changed in this diff Show More