[LLVMbugs] [Bug 6739] If/else scoping problem

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Mar 30 15:11:14 PDT 2010


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

Douglas Gregor <dgregor at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Douglas Gregor <dgregor at apple.com> 2010-03-30 17:11:13 CDT ---
(In reply to comment #1)
> Sorry, I didn't mean to break all kinds of compilers. MSVC also choked ;-)

It turns out that Clang and MSVC were correct, per C++ [stmt.select]p3.

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