[LLVMbugs] [Bug 13198] Inconsistent behavior for redefinition of local variables
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 25 10:59:35 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13198
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #3 from Eli Friedman <sharparrow1 at yahoo.com> 2012-06-25 12:59:35 CDT ---
Just double-checked... [stmt.for] in the C++ standard makes is clear that the
first is legal and the second isn't. If you want a warning, turn on -Wshadow.
--
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