| /src/external/gpl3/gcc.old/dist/libphobos/testsuite/libphobos.typeinfo/ |
| enum_.d | 19 typeid(e).postblit(&e);
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| canthrow.d | 117 if (sd.postblit && 120 checkFuncThrows(ce, sd.postblit); 204 if (auto postblit = ts.sym.postblit) 205 checkFuncThrows(ae, postblit);
|
| dstruct.d | 131 if (!sd.xeq && !sd.xcmp && !sd.postblit && !sd.tidtor && !sd.xhash && !search_toString(sd)) 206 FuncDeclarations postblits; // Array of postblit functions 207 FuncDeclaration postblit; // aggregate postblit 412 if (enclosing || postblit || dtor || hasCopyCtor)
|
| clone.d | 146 * it has a destructor or a postblit. 164 sd.postblit) 202 * 2. `S` has at least one of the following members: a postblit (user-defined or 203 * generated for fields that have a defined postblit), a destructor 221 * Otherwise, if `S` defines a postblit, the generated code for `opAssign` is: 228 * that the postblit is going to be called (if it is defined) in both of the above 231 * (`opAssign` is not called as this will result in an infinite recursion; the postblit 234 * If `S` does not have a postblit or a destructor, but contains at least one field that defines 289 if (sd.dtor || sd.postblit) 336 /* postblit was called when the value was passed to opAssign, we just need to blit the result * [all...] |
| aggregate.h | 173 FuncDeclarations postblits; // Array of postblit functions 174 FuncDeclaration *postblit; // aggregate postblit member in class:StructDeclaration
|
| semantic3.d | 1639 if (sd.postblit && 1640 sd.postblit._scope && 1641 sd.postblit.semanticRun < PASS.semantic3done) 1643 sd.postblit.semantic3(sd.postblit._scope);
|
| declaration.d | 286 if (auto postblit = isPostBlitDeclaration()) 290 * If the generated postblit is disabled, it 292 * postblit. Print the first field that has 293 * a disabled postblit. 295 if (postblit.isGenerated()) 308 if (!sdv.postblit) 310 if (sdv.postblit.isDisabled()) 317 p.error(loc, "is not copyable because it has a disabled postblit");
|
| traits.d | 644 return (e.ident == Id.hasPostblit) ? (sd.postblit ? True() : False()) 1635 (sm.isPostBlitDeclaration() && sm.ident != Id.postblit) ||
|
| expression.d | 458 * may be null if the struct defines a postblit 465 if (sd.postblit || sd.hasCopyCtor) 499 * Handle the postblit call on lvalue, or the move of rvalue. 1474 * Check that the postblit is callable if t is an array of structs. 1489 if (sd.postblit) 1491 if (sd.postblit.checkDisabled(loc, sc)) 1494 //checkDeprecated(sc, sd.postblit); // necessary? 1495 checkPurity(sc, sd.postblit); 1496 checkSafety(sc, sd.postblit); 1497 checkNogc(sc, sd.postblit); [all...] |
| dinterpret.d | 3916 // Currently postblit/destructor calls on static array are done 4320 rb.needsPostblit = sd && sd.postblit && e.op != EXP.blit && e.e2.isLvalue(); 7362 if (!sd.postblit) 7378 e = interpretFunction(&ue, sd.postblit, istate, null, e);
|
| dsymbolsem.d | 1114 * const CopyTest w = z; // not ok, postblit not run 1116 * because the postblit doesn't get run on the initialization of w. 1122 * (which implies a postblit) 1126 if (sd.postblit && tb2.toDsymbol(null) == sd) 4105 error(pbd.loc, "postblit can only be a member of struct, not %s `%s`", p.kind(), p.toChars()); 4110 if (pbd.ident == Id.postblit && pbd.semanticRun < PASS.semantic) 4614 sd.postblit = buildPostBlit(sd, sc2);
|
| mtype.d | 2577 * true if when type is copied, it needs a copy constructor or postblit 5779 return sym.hasCopyCtor || sym.postblit; 7218 if (ts.sym.postblit && 7219 ts.sym.postblit.storage_class & STC.disable)
|
| expressionsem.d | 9151 if (sd.postblit || sd.hasCopyCtor) 9186 * (e1 = e2).postblit(); 9189 * then call the postblit on it. 9196 e = new DotVarExp(exp.loc, e, sd.postblit, false); 9942 if (!ts || (!ts.sym.postblit && !ts.sym.dtor)) 10558 // Postblit call appears in AST, and this is 10563 // No postblit call exists on character (integer) value. 10569 // Postblit call will be done in runtime helper function
|
| typesem.d | 3823 ident != Id.postblit &&
|
| parse.d | 2311 * or postblit: 2333 deprecation("`immutable` postblit is deprecated. Please use an unqualified postblit."); 2335 deprecation("`shared` postblit is deprecated. Please use an unqualified postblit."); 2337 deprecation("`const` postblit is deprecated. Please use an unqualified postblit."); 2339 error(loc, "postblit cannot be `static`"); 2341 auto f = new AST.PostBlitDeclaration(loc, Loc.initial, stc, Id.postblit);
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/rt/ |
| arrayassign.d | 69 ti.postblit(pdst); 82 ti.postblit(pdst); 184 // Copy construction is defined as bit copy followed by postblit. 186 ti.postblit(to.ptr + i * element_size); 222 ti.postblit(p); 244 // Copy construction is defined as bit copy followed by postblit. 246 ti.postblit(p);
|
| aaA.d | 564 // postblit for key 675 // postblit is done in object.values 697 // postblit is done in object.keys 767 p.entry = allocEntry(aa, pkey); // move key, no postblit 778 pdst[0 .. valsz] = pval[0 .. valsz]; // move value, no postblit 907 // test postblit for AA literals 913 static size_t postblit, dtor; 916 ++postblit; 927 assert(T.dtor == 0 && T.postblit == 2); 929 assert(T.dtor == 1 && T.postblit == 3) [all...] |
| lifetime.d | 710 return (&ti.postblit).funcptr !is &TypeInfo.postblit; 723 // postblit not specified, no point in looping. 734 // generic case, call the typeinfo's postblit function 738 ti.postblit(ptr); 883 // handle postblit 1643 /* Do postblit processing, as we are making a copy and the 1862 /* Do postblit processing, as we are making a copy and the 1887 // do postblit 2070 // do postblit processin [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/ |
| postblit.d | 2 This module contains support for D's postblit feature 10 module core.internal.postblit; 49 // Test destruction/postblit order 197 // Test handling of failed postblit
|
| /src/external/gpl3/gcc.old/dist/gcc/d/ |
| typeinfo.cc | 1103 if (sd->postblit && !(sd->postblit->storage_class & STCdisable)) 1104 this->layout_field (build_address (get_symbol_decl (sd->postblit)));
|
| expr.cc | 47 /* Determine if type T is a struct that has a postblit. */ 56 if (ts->sym->postblit) 937 /* Determine if we need to run postblit or dtor. */ 938 bool postblit = needs_postblit (etype) && lvalue_p (e->e2); local 952 if ((postblit || destructor) && e->op != EXP::blit) 954 /* Need to call postblit/destructor as part of assignment. 986 if (!postblit && !destructor) 1029 else if ((postblit || destructor) 1144 /* Determine if we need to run postblit. */ 1145 const bool postblit = needs_postblit (etype) local [all...] |
| d-codegen.cc | 2235 if (arg->op == EXP::structLiteral || (!sd->postblit && !sd->dtor)
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/ |
| object.d | 713 /// Run the postblit on the object and all its sub-objects 714 void postblit(void* p) const {} 934 override void postblit(void* p) const { return base.postblit(p); } 1214 override void postblit(void* p) const 1219 value.postblit(p); 1949 override void postblit(void* p) const 2124 override void postblit(void* p) const 2860 Early compiler didn't check purity of toHash or postblit functions, if key is a UDT thus 4074 // infer static postblit type, run postblit if an [all...] |
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/ |
| variant.d | 207 apply, postblit, destruct } 244 case OpID.postblit: 628 case OpID.postblit: 670 fptr(OpID.postblit, &store, null);
|