summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/basic/basic.scope/basic.scope.local/p2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* The exception-declaration for a function-try-block cannot redeclare aAaron Ballman2014-06-021-2/+8
| | | | | | | function parameter. One of our existing test cases was XFAILed because of this. This fixes the issue and un-XFAILs the test. llvm-svn: 210026
* Fix more try scoping bugs introduced by r167650.David Blaikie2012-11-121-0/+23
| | | | | | | Introduces more clear scoping flags & flag combinations which should hopefully be more understandable. llvm-svn: 167766
* Handle redeclarations of catch variables in catch blocks.David Blaikie2012-11-101-0/+12
| | | | | | Fix to regression caused by r167650, caught by Richard Smith in code review. llvm-svn: 167653
* PR14296: function parameter name collisions in function try/catchDavid Blaikie2012-11-101-0/+25
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. llvm-svn: 167650
OpenPOWER on IntegriCloud