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

References

tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 5026   RewriteByRefString(ByrefType, Name, ND, true);
 5027   ByrefType += " {\n";
 5028   ByrefType += "  void *__isa;\n";
 5029   RewriteByRefString(ByrefType, Name, ND);
 5030   ByrefType += " *__forwarding;\n";
 5031   ByrefType += " int __flags;\n";
 5032   ByrefType += " int __size;\n";
 5038     ByrefType += " void (*__Block_byref_id_object_copy)(void*, void*);\n";
 5039     ByrefType += " void (*__Block_byref_id_object_dispose)(void*);\n";
 5046   ByrefType += " " + Name + ";\n";
 5047   ByrefType += "};\n";
 5056   InsertText(FunLocStart, ByrefType);
 5092   ByrefType.clear();
 5093   RewriteByRefString(ByrefType, Name, ND);
 5095   ForwardingCastType += ByrefType + " *)";
 5096   ByrefType += " " + Name + " = {(void*)";
 5097   ByrefType += utostr(isa);
 5098   ByrefType += "," +  ForwardingCastType + "&" + Name + ", ";
 5099   ByrefType += utostr(flags);
 5100   ByrefType += ", ";
 5101   ByrefType += "sizeof(";
 5102   RewriteByRefString(ByrefType, Name, ND);
 5103   ByrefType += ")";
 5105     ByrefType += ", __Block_byref_id_object_copy_";
 5106     ByrefType += utostr(flag);
 5107     ByrefType += ", __Block_byref_id_object_dispose_";
 5108     ByrefType += utostr(flag);
 5126     ByrefType += "};\n";
 5132     ReplaceText(DeclLoc, endBuf-startBuf+nameSize, ByrefType);
 5135     ByrefType += ", ";
 5144     ReplaceText(DeclLoc, endBuf-startBuf, ByrefType);