The exception-declaration for a function-try-block cannot redeclare a
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
Showing
- lib/Sema/SemaDeclCXX.cpp 8 additions, 4 deletionslib/Sema/SemaDeclCXX.cpp
- test/CXX/basic/basic.lookup/basic.lookup.unqual/p15.cpp 6 additions, 2 deletionstest/CXX/basic/basic.lookup/basic.lookup.unqual/p15.cpp
- test/CXX/basic/basic.scope/basic.scope.local/p2.cpp 8 additions, 2 deletionstest/CXX/basic/basic.scope/basic.scope.local/p2.cpp
Loading
Please register or sign in to comment