http://llvm.org/bugs/show_bug.cgi?id=14759

             Bug #: 14759
           Summary: debug info does not provide pointer to member types
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: googler
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
            Blocks: 14330
    Classification: Unclassified


Debug info for:

struct foo {
  int i;
};

typedef int foo::*PMI;

int main() {
  PMI x = 0;
  x = &foo::i;
}

reports that "ptype x" is "long" when compiled with Clang (and, correctly, "int
foo::*" when compiled with GCC 4.7).

Found by gdb.cp/member-ptr.exp in the GDB 7.5 test suite.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to