summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGException.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2010-10-15 04:57:14 +0000
committerJohn McCall <rjmccall@apple.com>2010-10-15 04:57:14 +0000
commit1c9c3fd50a05147d9e14d12bb42910eda831a373 (patch)
tree39b38a9bec19df6fba6eb4e12fa19145ee375962 /clang/lib/CodeGen/CGException.cpp
parent3b1db392fcbacfafbbb2af919927792647e75c70 (diff)
downloadbcm5719-llvm-1c9c3fd50a05147d9e14d12bb42910eda831a373.tar.gz
bcm5719-llvm-1c9c3fd50a05147d9e14d12bb42910eda831a373.zip
Death to blocks, or at least the word "block" in one particular obnoxiously
ambiguous context. llvm-svn: 116567
Diffstat (limited to 'clang/lib/CodeGen/CGException.cpp')
-rw-r--r--clang/lib/CodeGen/CGException.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index d2df1fba1d0..79646f3316b 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -1300,7 +1300,7 @@ static void BeginCatch(CodeGenFunction &CGF,
}
// Emit the local.
- CGF.EmitLocalBlockVarDecl(*CatchParam, &InitCatchParam);
+ CGF.EmitAutoVarDecl(*CatchParam, &InitCatchParam);
}
namespace {
OpenPOWER on IntegriCloud