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

References

tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
 4183   RewriteByRefString(ByrefType, Name, ND, true);
 4184   ByrefType += " {\n";
 4185   ByrefType += "  void *__isa;\n";
 4186   RewriteByRefString(ByrefType, Name, ND);
 4187   ByrefType += " *__forwarding;\n";
 4188   ByrefType += " int __flags;\n";
 4189   ByrefType += " int __size;\n";
 4195     ByrefType += " void (*__Block_byref_id_object_copy)(void*, void*);\n";
 4196     ByrefType += " void (*__Block_byref_id_object_dispose)(void*);\n";
 4203   ByrefType += " " + Name + ";\n";
 4204   ByrefType += "};\n";
 4213   InsertText(FunLocStart, ByrefType);
 4240   ByrefType.clear();
 4241   RewriteByRefString(ByrefType, Name, ND);
 4243   ForwardingCastType += ByrefType + " *)";
 4245     ByrefType += " " + Name + " = {(void*)";
 4246     ByrefType += utostr(isa);
 4247     ByrefType += "," +  ForwardingCastType + "&" + Name + ", ";
 4248     ByrefType += utostr(flags);
 4249     ByrefType += ", ";
 4250     ByrefType += "sizeof(";
 4251     RewriteByRefString(ByrefType, Name, ND);
 4252     ByrefType += ")";
 4254       ByrefType += ", __Block_byref_id_object_copy_";
 4255       ByrefType += utostr(flag);
 4256       ByrefType += ", __Block_byref_id_object_dispose_";
 4257       ByrefType += utostr(flag);
 4259     ByrefType += "};\n";
 4265     ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
 4276     ByrefType += " " + Name;
 4277     ByrefType += " = {(void*)";
 4278     ByrefType += utostr(isa);
 4279     ByrefType += "," +  ForwardingCastType + "&" + Name + ", ";
 4280     ByrefType += utostr(flags);
 4281     ByrefType += ", ";
 4282     ByrefType += "sizeof(";
 4283     RewriteByRefString(ByrefType, Name, ND);
 4284     ByrefType += "), ";
 4286       ByrefType += "__Block_byref_id_object_copy_";
 4287       ByrefType += utostr(flag);
 4288       ByrefType += ", __Block_byref_id_object_dispose_";
 4289       ByrefType += utostr(flag);
 4290       ByrefType += ", ";
 4292     ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);