Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Change symbol id from size_t to RawId (uint32_t currently)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Feb 3, 2018
1 parent dfffa43 commit cf43abc
Show file tree
Hide file tree
Showing 35 changed files with 35 additions and 85 deletions.
1 change: 0 additions & 1 deletion index_tests/enums/enum_usage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ Foo x = Foo::A;
"definition_extent": "6:1-6:15",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
2 changes: 0 additions & 2 deletions index_tests/foobar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Foo<B> b;
"definition_extent": "9:1-9:16",
"variable_type": 3,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -99,7 +98,6 @@ Foo<B> b;
"definition_extent": "10:1-10:9",
"variable_type": 2,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
1 change: 0 additions & 1 deletion index_tests/inheritance/class_inherit_templated_parent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ class Derived : Base1<3>, Base2<Derived>, Derived1<4>, Derived2<Derived> {};
"definition_extent": "7:10-7:24",
"variable_type": 3,
"uses": ["8:24-8:25"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 25,
"storage": 0
Expand Down
1 change: 0 additions & 1 deletion index_tests/lambdas/lambda.cc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ void foo() {
"definition_extent": "4:27-4:32",
"variable_type": 0,
"uses": ["6:7-6:8"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 25,
"storage": 1
Expand Down
2 changes: 0 additions & 2 deletions index_tests/macros/complex.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ FOO(make1(), make2);
"definition_extent": "9:1-9:20",
"variable_type": 0,
"uses": ["12:14-12:19"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -91,7 +90,6 @@ FOO(make1(), make2);
"definition_spelling": "1:9-1:12",
"definition_extent": "1:9-3:32",
"uses": ["12:1-12:4"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 4,
"storage": 0
Expand Down
3 changes: 0 additions & 3 deletions index_tests/macros/foo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ int x = A;
"definition_extent": "8:1-8:10",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -83,7 +82,6 @@ int x = A;
"definition_spelling": "1:9-1:10",
"definition_extent": "1:9-1:12",
"uses": ["8:9-8:10"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 4,
"storage": 0
Expand All @@ -97,7 +95,6 @@ int x = A;
"definition_spelling": "2:9-2:17",
"definition_extent": "2:9-2:46",
"uses": ["5:3-5:11"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 4,
"storage": 0
Expand Down
2 changes: 0 additions & 2 deletions index_tests/multi_file/impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ OUTPUT: header.h
"definition_extent": "17:1-17:9",
"variable_type": 5,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -185,7 +184,6 @@ OUTPUT: header.h
"definition_extent": "18:1-18:16",
"variable_type": 5,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/preprocessor/include_guard.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"definition_spelling": "2:9-2:12",
"definition_extent": "2:9-2:12",
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 4,
"storage": 0
Expand Down
6 changes: 0 additions & 6 deletions index_tests/templates/specialization.cc
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "7:1-7:22",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -337,7 +336,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "30:1-30:16",
"variable_type": 5,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -351,7 +349,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "31:1-31:17",
"variable_type": 6,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -365,7 +362,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "32:1-32:15",
"variable_type": 5,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -379,7 +375,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "33:1-33:15",
"variable_type": 5,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down Expand Up @@ -437,7 +432,6 @@ void foo<float, 9, Enum0, kOnst + 7>(float Value);
"definition_extent": "41:1-41:27",
"variable_type": 13,
"uses": ["43:27-43:32"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ int b = Foo<bool>::foo();
"definition_extent": "8:1-8:24",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -85,7 +84,6 @@ int b = Foo<bool>::foo();
"definition_extent": "9:1-9:25",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ int b = Foo<bool>::foo<double>();
"definition_extent": "9:1-9:31",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -86,7 +85,6 @@ int b = Foo<bool>::foo<double>();
"definition_extent": "10:1-10:33",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ VarDecl b
"definition_extent": "9:1-9:16",
"variable_type": 3,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -118,7 +117,6 @@ VarDecl b
"definition_extent": "10:1-10:16",
"variable_type": 3,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ int b = Foo<bool>::var;
"declarations": ["3:24-3:27"],
"variable_type": 1,
"uses": ["6:19-6:22", "7:20-7:23"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 21,
"storage": 3
Expand All @@ -65,7 +64,6 @@ int b = Foo<bool>::var;
"definition_extent": "6:1-6:22",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -80,7 +78,6 @@ int b = Foo<bool>::var;
"definition_extent": "7:1-7:23",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
2 changes: 0 additions & 2 deletions index_tests/templates/template_func_usage_folded_into_one.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ int b = foo<bool>();
"definition_extent": "6:1-6:19",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -70,7 +69,6 @@ int b = foo<bool>();
"definition_extent": "7:1-7:20",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
2 changes: 0 additions & 2 deletions index_tests/templates/template_type_usage_folded_into_one.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ Foo<bool> b;
"definition_extent": "4:1-4:11",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -50,7 +49,6 @@ Foo<bool> b;
"definition_extent": "5:1-5:12",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
3 changes: 0 additions & 3 deletions index_tests/templates/template_var_usage_folded_into_one.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ UnexposedDecl var
"definition_spelling": "5:3-5:6",
"definition_extent": "5:1-5:12",
"uses": ["7:7-7:10", "8:7-8:10"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -104,7 +103,6 @@ UnexposedDecl var
"definition_extent": "7:1-7:13",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand All @@ -119,7 +117,6 @@ UnexposedDecl var
"definition_extent": "8:1-8:13",
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
1 change: 0 additions & 1 deletion index_tests/unions/union_usage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ void act(Foo*) {
"definition_extent": "6:1-6:6",
"variable_type": 0,
"uses": ["9:3-9:4"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 1
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/func_called_from_macro_argument.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ void caller() {
"definition_spelling": "1:9-1:19",
"definition_extent": "1:9-1:24",
"uses": ["6:3-6:13"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 4,
"storage": 0
Expand Down
2 changes: 0 additions & 2 deletions index_tests/usage/type_usage_as_template_parameter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ unique_ptr<S>* return_type() {
"definition_extent": "6:1-6:27",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand All @@ -86,7 +85,6 @@ unique_ptr<S>* return_type() {
"definition_extent": "7:1-7:24",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ unique_ptr<S1, S2>* Foo::foo() { return nullptr; }
"declarations": ["15:43-15:44"],
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ static unique_ptr<S> foo;
"definition_extent": "6:1-6:25",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/type_usage_declare_extern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ extern T t;
"declarations": ["3:10-3:11"],
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 2
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/type_usage_declare_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static Type t;
"definition_extent": "2:1-2:14",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/type_usage_various.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ extern Foo foo;
"declarations": ["10:12-10:15"],
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 2
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/var_usage_class_member_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ void foo() {
"declarations": ["2:14-2:15"],
"variable_type": 1,
"uses": ["8:15-8:16"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 21,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/var_usage_extern.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ void foo() {
"declarations": ["1:12-1:13"],
"variable_type": 0,
"uses": ["4:3-4:4"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 2
Expand Down
1 change: 0 additions & 1 deletion index_tests/usage/var_usage_static.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ void foo() {
"definition_extent": "1:1-1:13",
"variable_type": 0,
"uses": ["4:3-4:4"],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/vars/class_static_member_decl_only.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ class Foo {
"declarations": ["2:14-2:20"],
"variable_type": 1,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 21,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/vars/global_variable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ static int global = 0;
"definition_extent": "1:1-1:22",
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 3
Expand Down
1 change: 0 additions & 1 deletion index_tests/vars/global_variable_decl_only.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extern int global;
"declarations": ["1:12-1:18"],
"variable_type": 0,
"uses": [],
"parent_id": 18446744073709551615,
"parent_kind": 0,
"kind": 13,
"storage": 2
Expand Down
Loading

0 comments on commit cf43abc

Please sign in to comment.