diff options
author | Devang Patel <dpatel@apple.com> | 2010-02-01 22:51:29 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-02-01 22:51:29 +0000 |
commit | ce78c9743aa8272b880a2874393fceff766c3fa3 (patch) | |
tree | aee2273393151eed4053c7dfc723402d7e10de41 /lib/CodeGen/CGDebugInfo.cpp | |
parent | 411894b96fdf5a1ae67742b1fdce552802a6a5bb (diff) |
Fix FIXME and surrounding comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index fffba85348..752d5b1964 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -784,10 +784,7 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty, // uses of the forward declaration with the final definition. // A RD->getName() is not unique. However, the debug info descriptors - // are uniqued. The debug info descriptor describing record's context is - // necessary to keep two Decl's descriptor unique if their name match. - // FIXME : Use RecordDecl's DeclContext's descriptor. As a temp. step - // use type's name in FwdDecl. + // are uniqued so use type name to ensure uniquness. std::string STy = QualType(Ty, 0).getAsString(); llvm::DIDescriptor FDContext = getContextDescriptor(dyn_cast<Decl>(RD->getDeclContext()), Unit); |