summaryrefslogtreecommitdiff
path: root/test/CXX/basic/basic.scope/basic.scope.local/p2.cpp
Commit message (Collapse)AuthorAge
* The exception-declaration for a function-try-block cannot redeclare aAaron Ballman2014-06-02
| | | | | | | function parameter. One of our existing test cases was XFAILed because of this. This fixes the issue and un-XFAILs the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210026 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix more try scoping bugs introduced by r167650.David Blaikie2012-11-12
| | | | | | | Introduces more clear scoping flags & flag combinations which should hopefully be more understandable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167766 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle redeclarations of catch variables in catch blocks.David Blaikie2012-11-10
| | | | | | Fix to regression caused by r167650, caught by Richard Smith in code review. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167653 91177308-0d34-0410-b5e6-96231b3b80d8
* PR14296: function parameter name collisions in function try/catchDavid Blaikie2012-11-10
C++11 3.3.3/2 "A parameter name shall not be redeclared in the outermost block of the function definition nor in the outermost block of any handler associated with a function-try-block." It's not totally clear to me whether the "FIXME" case is covered by this, but Richard Smith thinks it probably should be. It's just a bit more involved to fix that case. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167650 91177308-0d34-0410-b5e6-96231b3b80d8