diff options
author | Tobias Grosser <tobias@grosser.es> | 2018-08-07 05:51:21 +0000 |
---|---|---|
committer | Tobias Grosser <tobias@grosser.es> | 2018-08-07 05:51:21 +0000 |
commit | 6145b11cd88c22f4a503f8d4ed33d15266cb7a85 (patch) | |
tree | db1bcaaaa563a9b281b0780e7513eaa99fd6153c /polly/lib/External/isl/isl_test_cpp.cc | |
parent | b8a55e1eeecd0508b8da5ee747a99017513afd4e (diff) | |
download | llvm-6145b11cd88c22f4a503f8d4ed33d15266cb7a85.tar.gz |
Update isl to isl-0.20-48-g13eba5b5
This is a regular maintenance updated.
llvm-svn: 339095
Diffstat (limited to 'polly/lib/External/isl/isl_test_cpp.cc')
-rw-r--r-- | polly/lib/External/isl/isl_test_cpp.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/polly/lib/External/isl/isl_test_cpp.cc b/polly/lib/External/isl/isl_test_cpp.cc index e5580b444eef..929d69c4dd6a 100644 --- a/polly/lib/External/isl/isl_test_cpp.cc +++ b/polly/lib/External/isl/isl_test_cpp.cc @@ -52,7 +52,7 @@ static void test_return_bool(isl::ctx ctx) try { null.is_empty(); die("no exception raised"); - } catch (const isl::exception &e) { + } catch (const isl::exception_invalid &e) { caught = true; } @@ -131,6 +131,8 @@ static void test_exception(isl::ctx ctx) try { auto umap = isl::union_map::from(mupa); + } catch (const isl::exception_unsupported &error) { + die("caught wrong exception"); } catch (const isl::exception &error) { assert(strstr(error.what(), "without explicit domain")); copy = error; |