File tree Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Expand file tree Collapse file tree 6 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -2175,7 +2175,7 @@ private extern(C++) final class ComponentVisitor : Visitor
2175
2175
// / Set to the result of the comparison
2176
2176
private bool result;
2177
2177
2178
- public this (RootObject base) @safe
2178
+ public this (RootObject base) @trusted
2179
2179
{
2180
2180
switch (base.dyncast())
2181
2181
{
Original file line number Diff line number Diff line change @@ -2608,7 +2608,7 @@ bool isKeyword(const(char)[] str) @safe
2608
2608
2609
2609
/* ***************************************************
2610
2610
*/
2611
- TypeFunction isTypeFunction (Dsymbol s) @safe
2611
+ TypeFunction isTypeFunction (Dsymbol s) @trusted
2612
2612
{
2613
2613
FuncDeclaration f = s.isFuncDeclaration();
2614
2614
/* f.type may be NULL for template members.
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ private enum LOG = false;
86
86
87
87
enum IDX_NOTFOUND = 0x12345678 ;
88
88
89
- pure nothrow @nogc @safe
89
+ pure nothrow @nogc @trusted
90
90
{
91
91
92
92
/* *******************************************
Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ extern (C++) /* IN_LLVM abstract */ class Expression : ASTNode
460
460
* is returned via e0.
461
461
* Otherwise 'e' is directly returned and e0 is set to NULL.
462
462
*/
463
- extern (D ) static Expression extractLast(Expression e, out Expression e0) @safe
463
+ extern (D ) static Expression extractLast(Expression e, out Expression e0) @trusted
464
464
{
465
465
if (e.op != EXP .comma)
466
466
{
@@ -762,7 +762,7 @@ version (IN_LLVM)
762
762
return true ;
763
763
}
764
764
765
- final pure inout nothrow @nogc @safe
765
+ final pure inout nothrow @nogc @trusted
766
766
{
767
767
inout (IntegerExp) isIntegerExp () { return op == EXP .int64 ? cast (typeof (return ))this : null ; }
768
768
inout (ErrorExp) isErrorExp () { return op == EXP .error ? cast (typeof (return ))this : null ; }
@@ -3925,7 +3925,7 @@ extern (C++) final class VectorExp : UnaExp
3925
3925
uint dim = ~ 0 ; // number of elements in the vector
3926
3926
OwnedBy ownedByCtfe = OwnedBy.code;
3927
3927
3928
- extern (D ) this (const ref Loc loc, Expression e, Type t) @safe
3928
+ extern (D ) this (const ref Loc loc, Expression e, Type t) @trusted
3929
3929
{
3930
3930
super (loc, EXP .vector, e);
3931
3931
assert (t.ty == Tvector);
Original file line number Diff line number Diff line change @@ -2465,7 +2465,7 @@ version (IN_LLVM)
2465
2465
}
2466
2466
}
2467
2467
2468
- final pure inout nothrow @nogc @safe
2468
+ final pure inout nothrow @nogc @trusted
2469
2469
{
2470
2470
inout (TypeError) isTypeError () { return ty == Terror ? cast (typeof (return ))this : null ; }
2471
2471
inout (TypeVector) isTypeVector () { return ty == Tvector ? cast (typeof (return ))this : null ; }
Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ version (IN_LLVM)
273
273
inout (CompoundAsmStatement) endsWithAsm () inout { return null ; }
274
274
}
275
275
276
- final pure inout nothrow @nogc @safe :
276
+ final pure inout nothrow @nogc @trusted :
277
277
278
278
/* *******************
279
279
* A cheaper method of doing downcasting of Statements.
You can’t perform that action at this time.
0 commit comments