diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-12-22 15:00:54 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-12-22 15:00:54 +0000 |
commit | be7c9ec198dcdb5bf73a35bfbb00b3333cb87909 (patch) | |
tree | d97cbb4c3a7d0c7da83f0baa1fa220f188e9c6df /lib/Parse/ParseStmt.cpp | |
parent | 13cc256e404620c1de0cbcc4e43ce1e2dbbc4898 (diff) |
Notes
Diffstat (limited to 'lib/Parse/ParseStmt.cpp')
-rw-r--r-- | lib/Parse/ParseStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseStmt.cpp b/lib/Parse/ParseStmt.cpp index f604e038d2ad..588311585020 100644 --- a/lib/Parse/ParseStmt.cpp +++ b/lib/Parse/ParseStmt.cpp @@ -2197,7 +2197,7 @@ StmtResult Parser::ParseCXXCatchBlock(bool FnCatch) { // The name in a catch exception-declaration is local to the handler and // shall not be redeclared in the outermost block of the handler. ParseScope CatchScope(this, Scope::DeclScope | Scope::ControlScope | - (FnCatch ? Scope::FnCatchScope : 0)); + (FnCatch ? Scope::FnCatchScope : Scope::CatchScope)); // exception-declaration is equivalent to '...' or a parameter-declaration // without default arguments. |