https://llvm.org/bugs/show_bug.cgi?id=28152

            Bug ID: 28152
           Summary: [codeview] Include nested classes in the class member
                    list, at least when generating codeview
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangb...@nondot.org
          Reporter: r...@google.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

MSVC records information about nested classes in its equivalent of our member
list. We should do the same.

The existing DI representation encodes this information with a parent scope
pointer, but that information is only present when we bother to emit
information about the nested type. In this example, 'Nested' is not mentioned
anywhere in our debug info:
struct A { struct Nested {}; } a;

We want our member lists for any given type to always be the same so that the
type records are bitwise identical across TUs. IMO we should go ahead and add
nested classes to the member list.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to