From cd99d9eac20ed2c9d671312996b3a3ce45505b86 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 18 Apr 2009 21:55:17 +0000 Subject: [PATCH] forgot to commit this before. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69480 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0