reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 4139   S += funcName;
 4140   S += "_block_copy_" + utostr(i);
 4141   S += "(" + StructRef;
 4142   S += "*dst, " + StructRef;
 4143   S += "*src) {";
 4145     S += "_Block_object_assign((void*)&dst->";
 4146     S += VD->getNameAsString();
 4147     S += ", (void*)src->";
 4148     S += VD->getNameAsString();
 4150       S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
 4152       S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
 4154       S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
 4156   S += "}\n";
 4158   S += "\nstatic void __";
 4159   S += funcName;
 4160   S += "_block_dispose_" + utostr(i);
 4161   S += "(" + StructRef;
 4162   S += "*src) {";
 4164     S += "_Block_object_dispose((void*)src->";
 4165     S += VD->getNameAsString();
 4167       S += ", " + utostr(BLOCK_FIELD_IS_BYREF) + "/*BLOCK_FIELD_IS_BYREF*/);";
 4169       S += ", " + utostr(BLOCK_FIELD_IS_BLOCK) + "/*BLOCK_FIELD_IS_BLOCK*/);";
 4171       S += ", " + utostr(BLOCK_FIELD_IS_OBJECT) + "/*BLOCK_FIELD_IS_OBJECT*/);";
 4173   S += "}\n";
 4174   return S;