]> granicus.if.org Git - clang/commitdiff
Add FIXME/notes to the future.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Oct 2014 05:52:27 +0000 (05:52 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Oct 2014 05:52:27 +0000 (05:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219104 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGDebugInfo.cpp

index f5286ff79a4dad1bb0bc921a4a8cc9a594a38b87..8e2d0de6ecd024d15fa5d2217693bd09f0926ca3 100644 (file)
@@ -1162,6 +1162,11 @@ CollectCXXMemberFunctions(const CXXRecordDecl *RD, llvm::DIFile Unit,
     // the member being added to type units by LLVM, while still allowing it
     // to be emitted into the type declaration/reference inside the compile
     // unit.
+    // FIXME: Handle Using(Shadow?)Decls here to create
+    // DW_TAG_imported_declarations inside the class for base decls brought into
+    // derived classes. GDB doesn't seem to notice/leverage these when I tried
+    // it, so I'm not rushing to fix this. (GCC seems to produce them, if
+    // referenced)
     if (!Method || Method->isImplicit())
       continue;
     // Reuse the existing member function declaration if it exists.