Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 44 additions & 44 deletions data/fixtures/scopes/c/statement.class.scope
Original file line number Diff line number Diff line change
@@ -1,91 +1,91 @@
struct aaa { int bbb; };
union bbb { int ccc; };
enum ccc { ddd, eee };
struct aaa {};
union bbb {};
enum ccc {};

typedef struct { int fff; } ggg;
typedef union { int hhh; } iii;
typedef enum { jjj, kkk } lll;
typedef struct {} ddd;
typedef union {} eee;
typedef enum {} fff;
---

[#1 Content] =
[#1 Domain] = 0:0-0:24
>------------------------<
0| struct aaa { int bbb; };
[#1 Domain] = 0:0-0:14
>--------------<
0| struct aaa {};

[#1 Removal] = 0:0-1:0
>------------------------
0| struct aaa { int bbb; };
1| union bbb { int ccc; };
>--------------
0| struct aaa {};
1| union bbb {};
<

[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Domain] = 1:0-1:23
>-----------------------<
1| union bbb { int ccc; };
[#2 Domain] = 1:0-1:13
>-------------<
1| union bbb {};

[#2 Removal] = 1:0-2:0
>-----------------------
1| union bbb { int ccc; };
2| enum ccc { ddd, eee };
>-------------
1| union bbb {};
2| enum ccc {};
<

[#2 Insertion delimiter] = "\n"


[#3 Content] =
[#3 Domain] = 2:0-2:22
>----------------------<
2| enum ccc { ddd, eee };
[#3 Domain] = 2:0-2:12
>------------<
2| enum ccc {};

[#3 Removal] = 2:0-3:0
>----------------------
2| enum ccc { ddd, eee };
>------------
2| enum ccc {};
3|
<

[#3 Insertion delimiter] = "\n"


[#4 Content] =
[#4 Domain] = 4:0-4:32
>--------------------------------<
4| typedef struct { int fff; } ggg;
[#4 Domain] = 4:0-4:22
>----------------------<
4| typedef struct {} ddd;

[#4 Removal] = 4:0-5:0
>--------------------------------
4| typedef struct { int fff; } ggg;
5| typedef union { int hhh; } iii;
>----------------------
4| typedef struct {} ddd;
5| typedef union {} eee;
<

[#4 Insertion delimiter] = "\n"


[#5 Content] =
[#5 Domain] = 5:0-5:31
>-------------------------------<
5| typedef union { int hhh; } iii;
[#5 Domain] = 5:0-5:21
>---------------------<
5| typedef union {} eee;

[#5 Removal] = 5:0-6:0
>-------------------------------
5| typedef union { int hhh; } iii;
6| typedef enum { jjj, kkk } lll;
>---------------------
5| typedef union {} eee;
6| typedef enum {} fff;
<

[#5 Insertion delimiter] = "\n"


[#6 Content] =
[#6 Domain] = 6:0-6:30
>------------------------------<
6| typedef enum { jjj, kkk } lll;

[#6 Removal] = 5:31-6:30
>
5| typedef union { int hhh; } iii;
6| typedef enum { jjj, kkk } lll;
------------------------------<
[#6 Domain] = 6:0-6:20
>--------------------<
6| typedef enum {} fff;

[#6 Removal] = 5:21-6:20
>
5| typedef union {} eee;
6| typedef enum {} fff;
--------------------<

[#6 Insertion delimiter] = "\n"
33 changes: 33 additions & 0 deletions data/fixtures/scopes/c/statement.field.class.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
struct foo {
int bar;
};
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 0:0-2:2
>------------
0| struct foo {
1| int bar;
2| };
--<

[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Domain] = 1:4-1:12
>--------<
1| int bar;

[#2 Removal] = 1:0-2:0
>------------
1| int bar;
2| };
<

[#2 Leading delimiter] = 1:0-1:4
>----<
1| int bar;

[#2 Insertion delimiter] = "\n"
33 changes: 33 additions & 0 deletions data/fixtures/scopes/c/statement.field.class2.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
union foo {
int bar;
};
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 0:0-2:2
>-----------
0| union foo {
1| int bar;
2| };
--<

[#1 Insertion delimiter] = "\n"


[#2 Content] =
[#2 Domain] = 1:4-1:12
>--------<
1| int bar;

[#2 Removal] = 1:0-2:0
>------------
1| int bar;
2| };
<

[#2 Leading delimiter] = 1:0-1:4
>----<
1| int bar;

[#2 Insertion delimiter] = "\n"
38 changes: 38 additions & 0 deletions data/fixtures/scopes/c/type.field.class.scope
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
struct foo {
int bar;
};
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 0:0-2:2
>------------
0| struct foo {
1| int bar;
2| };
--<

[#1 Insertion delimiter] = " "


[#2 Content] = 1:4-1:7
>---<
1| int bar;

[#2 Removal] = 1:4-1:8
>----<
1| int bar;

[#2 Leading delimiter] = 1:0-1:4
>----<
1| int bar;

[#2 Trailing delimiter] = 1:7-1:8
>-<
1| int bar;

[#2 Domain] = 1:4-1:12
>--------<
1| int bar;

[#2 Insertion delimiter] = " "
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
class Foo {
int aaa = 2;
}
union foo {
int bar;
};
---

[#1 Content] =
[#1 Removal] =
[#1 Domain] = 0:0-2:1
[#1 Domain] = 0:0-2:2
>-----------
0| class Foo {
1| int aaa = 2;
2| }
-<
0| union foo {
1| int bar;
2| };
--<

[#1 Insertion delimiter] = " "


[#2 Content] = 1:4-1:7
>---<
1| int aaa = 2;
1| int bar;

[#2 Removal] = 1:4-1:8
>----<
1| int aaa = 2;
1| int bar;

[#2 Leading delimiter] = 1:0-1:4
>----<
1| int aaa = 2;
1| int bar;

[#2 Trailing delimiter] = 1:7-1:8
>-<
1| int aaa = 2;
1| int bar;

[#2 Domain] = 1:4-1:16
>------------<
1| int aaa = 2;
[#2 Domain] = 1:4-1:12
>--------<
1| int bar;

[#2 Insertion delimiter] = " "
33 changes: 0 additions & 33 deletions data/fixtures/scopes/c/type.field.scope

This file was deleted.

33 changes: 0 additions & 33 deletions data/fixtures/scopes/c/type.field2.scope

This file was deleted.

Loading
Loading