[LLVMbugs] [Bug 13875] New: Consider -Wshadow-member subgroup for derived members shadowing base members
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Sep 19 10:29:43 PDT 2012
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: unassignedclangbugs at nondot.org
ReportedBy: dblaikie at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list