The exception-declaration for a function-try-block cannot redeclare afunction parameter. One of our existing test cases was XFAILed becauseof this. This fixes the issue and un-XFAILs the test.llv
The exception-declaration for a function-try-block cannot redeclare afunction parameter. One of our existing test cases was XFAILed becauseof this. This fixes the issue and un-XFAILs the test.llvm-svn: 210026
show more ...
Fix more try scoping bugs introduced by r167650.Introduces more clear scoping flags & flag combinations which should hopefullybe more understandable.llvm-svn: 167766
Handle redeclarations of catch variables in catch blocks.Fix to regression caused by r167650, caught by Richard Smith in code review.llvm-svn: 167653
PR14296: function parameter name collisions in function try/catchC++11 3.3.3/2 "A parameter name shall not be redeclared in the outermost blockof the function definition nor in the outermost block
PR14296: function parameter name collisions in function try/catchC++11 3.3.3/2 "A parameter name shall not be redeclared in the outermost blockof the function definition nor in the outermost block of any handler associatedwith a function-try-block."It's not totally clear to me whether the "FIXME" case is covered by this, butRichard Smith thinks it probably should be. It's just a bit more involved tofix that case.llvm-svn: 167650
Update all tests other than Driver/std.cpp to use -std=c++11 rather than-std=c++0x. Patch by Ahmed Charles!llvm-svn: 141900
Add support for C++0x's range-based for loops, as specified by the C++11 draft standard (N3291).llvm-svn: 129541