summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CGException.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp
index bf9067e1883..d3d26ca9503 100644
--- a/clang/lib/CodeGen/CGException.cpp
+++ b/clang/lib/CodeGen/CGException.cpp
@@ -385,9 +385,6 @@ void CodeGenFunction::EmitCXXTryStmt(const CXXTryStmt &S) {
if (!CatchType.getTypePtr()->isPointerType())
CatchType = getContext().getPointerType(CatchType);
ExcObject = Builder.CreateBitCast(ExcObject, ConvertType(CatchType));
- // CatchParam is a ParmVarDecl because of the grammar
- // construction used to handle this, but for codegen purposes
- // we treat this as a local decl.
EmitLocalBlockVarDecl(*CatchParam);
#if 0
// FIXME: objects with ctors, references
OpenPOWER on IntegriCloud