HomeSort by: relevance | last modified time | path
    Searched refs:isMutable (Results 1 - 25 of 50) sorted by relevancy

1 2

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
safe.d 87 if (readonly || !e.type.isMutable())
171 if (tfromn.ty == Tvoid && ttobn.isMutable())
186 if (frompointers && !topointers && ttobn.isMutable())
escape.d 77 bool isMutable; // true if reference to mutable
95 eb.isMutable = eb.param.isReferenceToMutable(arg.type);
101 eb.isMutable = arg.type.isReferenceToMutable();
117 eb.isMutable = arg.type.isReferenceToMutable();
123 eb.isMutable = arg.type.isMutable();
132 eb.isMutable = var.type.isMutable();
149 //printf("v %d v2 %d\n", eb.isMutable, eb2.isMutable);
    [all...]
declaration.d 126 if (var.type.isMutable() && e1.type.isMutable())
130 const(char)* modStr = !var.type.isMutable() ? MODtoChars(var.type.mod) : MODtoChars(e1.type.mod);
137 if (!mustInit && var.type.isMutable() && e1.type.isMutable())
141 const(char)* modStr = !var.type.isMutable() ? MODtoChars(var.type.mod) : MODtoChars(e1.type.mod);
161 if (var.type.isMutable())
importc.d 197 if (t.isMutable())
sideeffect.d 142 if (tf.isMutable())
semantic2.d 306 if ((vd.type.ty == Tclass) && vd.type.isMutable() && !vd.type.isShared())
312 else if (vd.type.ty == Tpointer && vd.type.nextOf().ty == Tstruct && vd.type.nextOf().isMutable() && !vd.type.nextOf().isShared())
arrayop.d 167 if (tn && (!tn.isMutable() || !tn.isAssignable()))
ob.d 1234 return v.isScope() && !v.isowner && v.type.nextOf().isMutable();
1244 return v.isScope() && !v.type.nextOf().isMutable();
1759 if (!tb.isMutable())
1789 if (!tb.isMutable())
2666 return (tb.nextOf() ? tb.nextOf() : tb).isMutable();
func.d 3022 A tuple with `isMutable` and `isNotShared` set
3030 bool isMutable;
3059 mismatches.isMutable = true;
3081 assert(!mismatches.isMutable);
3086 assert(mismatches.isMutable);
3284 else if (mismatches.isMutable)
mtype.d 1065 final bool isMutable() const nothrow pure @nogc @safe
1175 assert(!t || (t.isMutable() && !t.isShared()));
1194 assert(!t || t.isMutable());
1203 assert(!t || t.isMutable());
1213 assert(t.isMutable());
2253 else if (isMutable())
4407 if (t.isMutable() && t.hasPointers())
4415 if (!(tn.isMutable() && tn.hasPointers()))
4423 if (tthis && tthis.isMutable())
5759 assignable = v.type.isMutable() && v.type.isAssignable()
    [all...]
mtype.h 256 bool isMutable() const { return (mod & (MODconst | MODimmutable | MODwild)) == 0; }
opover.d 942 e1x = new CastExp(e.loc, e.e1, t1.isMutable() ? to : to.constOf());
944 e2x = new CastExp(e.loc, e.e2, t2.isMutable() ? to : to.constOf());
dtemplate.d 1656 if ((tt.ty == Tarray || tt.ty == Tpointer) && !tt.isMutable() && (!(fparam.storageClass & STC.ref_) || (fparam.storageClass & STC.auto_) && !farg.isLvalue()))
1958 if (!farg.type.isMutable()) // https://issues.dlang.org/show_bug.cgi?id=11916
4628 if (!tt.isMutable() && !at.isMutable())
4630 else if (tt.isMutable())
4637 else if (at.isMutable())
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
ImmutableSet.h 229 bool IsMutable : 1;
246 : factory(f), left(l), right(r), height(height), IsMutable(true),
253 /// isMutable - Returns true if the left and right subtree references
259 bool isMutable() const { return IsMutable; }
279 assert(isMutable() && "Mutable flag already removed.");
280 IsMutable = false;
292 assert(isMutable() && "Only a mutable tree can have its height changed.");
356 IsMutable = false;
491 if (N->isMutable() && N->refCount == 0
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/Interp/
Pointer.h 238 bool isMutable() const { return Base != 0 && getInlineDesc()->IsMutable; }
Interp.cpp 272 if (!Ptr.isMutable()) {
Program.cpp 44 /*isMutable=*/false);
230 /*isMutable=*/false);
275 const bool IsMutable = FD->isMutable();
279 IsMutable);
282 /*isTemporary=*/false, IsMutable);
298 bool IsMutable) {
302 return allocateDescriptor(D, Record, IsConst, IsTemporary, IsMutable);
318 IsMutable);
330 IsMutable);
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/experimental/
typecons.d 81 if (Targets.length >= 1 && allSatisfy!(isMutable, Targets))
132 if (Targets.length >= 1 && !allSatisfy!(isMutable, Targets))
229 static if (!allSatisfy!(isMutable, Targets))
542 static if (!isMutable!Target)
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/algorithm/
mutation.d 82 Unqual, isSomeChar, isMutable;
2002 static assert(isMutable!(typeof(range[0])),
2332 static assert(isMutable!(typeof(range[0])),
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/
traits.d 122 * $(LREF isMutable)
5334 enum isBlitAssignable = isMutable!T &&
5363 enum isBlitAssignable = isMutable!T;
7243 * Returns true if T is not const or immutable. Note that isMutable is true for
7246 enum bool isMutable(T) = !is(T == const) && !is(T == immutable) && !is(T == inout);
7251 static assert( isMutable!int);
7252 static assert( isMutable!string);
7253 static assert( isMutable!(shared int));
7254 static assert( isMutable!(shared const(int)[]));
7256 static assert(!isMutable!(const int))
    [all...]
array.d 586 static assert(isMutable!ValueType, "assocArray: value type must be mutable");
634 static assert(isMutable!Value, "assocArray: value type must be mutable");
3461 static if (isMutable!T && is(typeof(arr.length = size_t.max)))
3737 static if (isMutable!T)
  /src/external/apache2/llvm/dist/clang/lib/AST/
ODRHash.cpp 330 Hash.AddBoolean(D->isMutable());
DeclCXX.cpp 1005 if (Field->isMutable()) {
1088 if (!Field->hasInClassInitializer() && !Field->isMutable()) {
1281 if (Field->isMutable()) {
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCUDA.cpp 410 /* ConstArg */ ConstRHS && !F->isMutable(),
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/container/
array.d 195 static if (isMutable!A)
256 static if (isMutable!A)

Completed in 109 milliseconds

1 2