diff options
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 903ddf2600..4ec32b738a 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -3026,7 +3026,7 @@ void JumpScopeChecker::BuildScopeInformation(Stmt *S, unsigned ParentScope) { // @catch always starts a new scope. // FIXME: We have to do this because @catches are nested inside each other, // which seems weird and causes us to emit wierd diagnostics. - Scopes.push_back(GotoScope(ParentScope,diag::note_protected_by_objc_catch, + Scopes.push_back(GotoScope(ParentScope, diag::note_protected_by_objc_catch, AC->getAtCatchLoc())); ParentScope = Scopes.size()-1; } |