Reformat comment.

llvm-svn: 141260
This commit is contained in:
Eric Christopher 2011-10-06 00:30:52 +00:00
parent 21f2a4919b
commit 8c552308c6
1 changed files with 6 additions and 6 deletions

View File

@ -1158,12 +1158,12 @@ llvm::DIType CGDebugInfo::CreateType(const ObjCInterfaceType *Ty,
return FwdDecl;
}
// To handle recursive interface, we
// first generate a debug descriptor for the struct as a forward declaration.
// Then (if it is a definition) we go through and get debug info for all of
// its members. Finally, we create a descriptor for the complete type (which
// may refer to the forward decl if the struct is recursive) and replace all
// uses of the forward declaration with the final definition.
// To handle a recursive interface, we first generate a debug descriptor
// for the struct as a forward declaration. Then (if it is a definition)
// we go through and get debug info for all of its members. Finally, we
// create a descriptor for the complete type (which may refer to the
// forward decl if the struct is recursive) and replace all uses of the
// forward declaration with the final definition.
llvm::DIType FwdDecl = DBuilder.createTemporaryType(DefUnit);
llvm::MDNode *MN = FwdDecl;