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
30 changes: 15 additions & 15 deletions test/tests_extractor/ascii.d.ext
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# line 107
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -12,7 +12,7 @@
}

# line 138
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -25,7 +25,7 @@
}

# line 168
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -39,7 +39,7 @@
}

# line 199
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -53,7 +53,7 @@
}

# line 230
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -68,7 +68,7 @@
}

# line 262
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -80,7 +80,7 @@
}

# line 291
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -93,7 +93,7 @@
}

# line 323
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -111,7 +111,7 @@
}

# line 358
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -130,7 +130,7 @@
}

# line 397
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -154,7 +154,7 @@
}

# line 441
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -170,7 +170,7 @@
}

# line 477
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -185,7 +185,7 @@
}

# line 513
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -194,7 +194,7 @@
}

# line 554
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand All @@ -207,7 +207,7 @@
}

# line 616
@safe @nogc unittest
@safe pure nothrow @nogc unittest
{
import std.ascii;

Expand Down
6 changes: 3 additions & 3 deletions test/tests_extractor/iteration.d.ext
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
}

# line 3210
@safe unittest
@safe pure unittest
{
import std.algorithm.iteration;

Expand Down Expand Up @@ -562,7 +562,7 @@
}

# line 4507
@safe unittest
@safe pure unittest
{
import std.algorithm.iteration;

Expand All @@ -572,7 +572,7 @@
}

# line 4820
@safe unittest
@safe pure nothrow unittest
{
import std.algorithm.iteration;

Expand Down
8 changes: 8 additions & 0 deletions tests_extractor.d
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ private:
// write system attributes
foreach (attr; attributes)
{
// pure and nothrow
if (attr.attribute.type != 0)
{
import dparse.lexer : str;
const attrText = attr.attribute.type.str;
outFile.write(text(attrText, " "));
}

const atAttribute = attr.atAttribute;
if (atAttribute is null)
continue;
Expand Down