Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 2ee8773

Browse files
authored
Merge pull request #2401 from ibuclaw/sectionattr
rt/sections.d: Update SectionGroup signatures to match on all targets
2 parents 954c721 + 78cfff0 commit 2ee8773

File tree

5 files changed

+16
-16
lines changed

5 files changed

+16
-16
lines changed

src/rt/sections_osx_x86.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ struct SectionGroup
4444
return dg(_sections);
4545
}
4646

47-
@property immutable(ModuleInfo*)[] modules() const
47+
@property immutable(ModuleInfo*)[] modules() const nothrow @nogc
4848
{
4949
return _moduleGroup.modules;
5050
}
5151

52-
@property ref inout(ModuleGroup) moduleGroup() inout
52+
@property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc
5353
{
5454
return _moduleGroup;
5555
}
5656

57-
@property inout(void[])[] gcRanges() inout
57+
@property inout(void[])[] gcRanges() inout nothrow @nogc
5858
{
5959
return _gcRanges[];
6060
}
6161

62-
@property immutable(FuncTable)[] ehTables() const
62+
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
6363
{
6464
return _ehTables[];
6565
}

src/rt/sections_osx_x86_64.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ struct SectionGroup
4444
return dg(_sections);
4545
}
4646

47-
@property immutable(ModuleInfo*)[] modules() const
47+
@property immutable(ModuleInfo*)[] modules() const nothrow @nogc
4848
{
4949
return _moduleGroup.modules;
5050
}
5151

52-
@property ref inout(ModuleGroup) moduleGroup() inout
52+
@property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc
5353
{
5454
return _moduleGroup;
5555
}
5656

57-
@property inout(void[])[] gcRanges() inout
57+
@property inout(void[])[] gcRanges() inout nothrow @nogc
5858
{
5959
return _gcRanges[];
6060
}
6161

62-
@property immutable(FuncTable)[] ehTables() const
62+
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
6363
{
6464
return _ehTables[];
6565
}

src/rt/sections_solaris.d

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ struct SectionGroup
2929
return dg(_sections);
3030
}
3131

32-
@property immutable(ModuleInfo*)[] modules() const
32+
@property immutable(ModuleInfo*)[] modules() const nothrow @nogc
3333
{
3434
return _moduleGroup.modules;
3535
}
3636

37-
@property ref inout(ModuleGroup) moduleGroup() inout
37+
@property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc
3838
{
3939
return _moduleGroup;
4040
}
4141

42-
@property immutable(FuncTable)[] ehTables() const
42+
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
4343
{
4444
auto pbeg = cast(immutable(FuncTable)*)&__start_deh;
4545
auto pend = cast(immutable(FuncTable)*)&__stop_deh;
4646
return pbeg[0 .. pend - pbeg];
4747
}
4848

49-
@property inout(void[])[] gcRanges() inout
49+
@property inout(void[])[] gcRanges() inout nothrow @nogc
5050
{
5151
return _gcRanges[];
5252
}

src/rt/sections_win32.d

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,17 @@ struct SectionGroup
3131
return dg(_sections);
3232
}
3333

34-
@property immutable(ModuleInfo*)[] modules() const
34+
@property immutable(ModuleInfo*)[] modules() const nothrow @nogc
3535
{
3636
return _moduleGroup.modules;
3737
}
3838

39-
@property ref inout(ModuleGroup) moduleGroup() inout
39+
@property ref inout(ModuleGroup) moduleGroup() inout nothrow @nogc
4040
{
4141
return _moduleGroup;
4242
}
4343

44-
@property inout(void[])[] gcRanges() inout
44+
@property inout(void[])[] gcRanges() inout nothrow @nogc
4545
{
4646
return _gcRanges[];
4747
}

src/rt/sections_win64.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ struct SectionGroup
4242
}
4343

4444
version (Win64)
45-
@property immutable(FuncTable)[] ehTables() const
45+
@property immutable(FuncTable)[] ehTables() const nothrow @nogc
4646
{
4747
auto pbeg = cast(immutable(FuncTable)*)&_deh_beg;
4848
auto pend = cast(immutable(FuncTable)*)&_deh_end;

0 commit comments

Comments
 (0)