<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [Meta] Prefer C++ wrapper API for ISL."
href="https://bugs.llvm.org/show_bug.cgi?id=49824">49824</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Meta] Prefer C++ wrapper API for ISL.
</td>
</tr>
<tr>
<th>Product</th>
<td>Polly
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>isl
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>llvm@meinersbur.de
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The ISL C++ wrapper library isl-noexceptions.h manages resources using RAII.
Manually allocation and releasing ISL object led to many use-after-free bugs
and resource leaks (which ISL complains about in isl_ctx_free). RAII makes this
resource handling less error prone. In addition, the C++ wrapper provides
mechanisms to ensure that errors are not silently ignored, for instance, when
the operation limit is reached.
This is a meta-bug since there are too many function not yet using the C++
wrapper to track them individually.
Recent reviews for converting use of the C APU to C++ include:
<a href="https://reviews.llvm.org/D98765">https://reviews.llvm.org/D98765</a>
<a href="https://reviews.llvm.org/D98455">https://reviews.llvm.org/D98455</a>
<a href="https://reviews.llvm.org/D97751">https://reviews.llvm.org/D97751</a>
<a href="https://reviews.llvm.org/D97425">https://reviews.llvm.org/D97425</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>