From f095bc2c1dfe425237b092cf006dbb365e69482e Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 11 Sep 2015 17:39:34 +0000 Subject: [PATCH] [test] Specify exception object type in two tests Replace: 'try { throw 0; } catch (...)' with 'try { throw 0; } catch (int e)' in two test cases. Differential Revision: http://reviews.llvm.org/D12743 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247437 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjCXX/exception-cxx.mm | 2 +- test/CodeGenObjCXX/personality-abuse.mm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/CodeGenObjCXX/exception-cxx.mm b/test/CodeGenObjCXX/exception-cxx.mm index 76a5a08458..36eec28a0a 100644 --- a/test/CodeGenObjCXX/exception-cxx.mm +++ b/test/CodeGenObjCXX/exception-cxx.mm @@ -5,7 +5,7 @@ namespace test0 { void foo() { try { throw 0; - } catch (...) { + } catch (int e) { return; } } diff --git a/test/CodeGenObjCXX/personality-abuse.mm b/test/CodeGenObjCXX/personality-abuse.mm index 55e0e2c832..f5170bf75c 100644 --- a/test/CodeGenObjCXX/personality-abuse.mm +++ b/test/CodeGenObjCXX/personality-abuse.mm @@ -11,7 +11,7 @@ void *abuse_personality_func() { void foo() { try { throw 0; - } catch (...) { + } catch (int e) { return; } } -- 2.40.0