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

             Bug #: 13875
           Summary: Consider -Wshadow-member subgroup for derived members
                    shadowing base members
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


struct base { int i; };
struct derived: base { int i; };

We should see about warning on derived's 'i' under a subgroup of -Wshadow
(possibly -Wshadow-member - suggestions welcome).

-- 
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