summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-05-20 07:13:26 +0000
committerJohn McCall <rjmccall@apple.com>2010-05-20 07:13:26 +0000
commit58efb8e2bbd30fc8d3205031b31472e6301e157f (patch)
treef59cc268577bb489f98faf6e1b3650d33fe8c55b
parentdeb5e728aef66d4c255731fc1bec4f1f075c8885 (diff)
downloadbcm5719-llvm-58efb8e2bbd30fc8d3205031b31472e6301e157f.tar.gz
bcm5719-llvm-58efb8e2bbd30fc8d3205031b31472e6301e157f.zip
Whoops.
llvm-svn: 104218
-rw-r--r--clang/lib/Sema/SemaDecl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index af9848fb1ab..b86284d1afb 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/lib/Sema/SemaDecl.cpp
@@ -4694,7 +4694,7 @@ Sema::DeclPtrTy Sema::ActOnFinishFunctionBody(DeclPtrTy D, StmtArg BodyArg,
// Verify that that gotos and switch cases don't jump into scopes illegally.
// Verify that that gotos and switch cases don't jump into scopes illegally.
if (FunctionNeedsScopeChecking() &&
- !FD->isInvalidDecl() &&
+ !dcl->isInvalidDecl() &&
!hasAnyErrorsInThisFunction())
DiagnoseInvalidJumps(Body);
OpenPOWER on IntegriCloud