summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/basic/basic.scope/basic.scope.local
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
* Update all tests other than Driver/std.cpp to use -std=c++11 rather thanRichard Smith2011-10-131-1/+1
| | | | | | -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 ↵Richard Smith2011-04-141-0/+68
draft standard (N3291). llvm-svn: 129541
OpenPOWER on IntegriCloud