<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:anastasia.stulova@arm.com" title="Anastasia Stulova <anastasia.stulova@arm.com>"> <span class="fn">Anastasia Stulova</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [C++] restrict keyword not accepted"
   href="https://bugs.llvm.org/show_bug.cgi?id=41008">bug 41008</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>WONTFIX
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [C++] restrict keyword not accepted"
   href="https://bugs.llvm.org/show_bug.cgi?id=41008#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED WONTFIX - [C++] restrict keyword not accepted"
   href="https://bugs.llvm.org/show_bug.cgi?id=41008">bug 41008</a>
              from <span class="vcard"><a class="email" href="mailto:anastasia.stulova@arm.com" title="Anastasia Stulova <anastasia.stulova@arm.com>"> <span class="fn">Anastasia Stulova</span></a>
</span></b>
        <pre>Restrict is not supported by C++ for OpenCL v1.0, see section 2.2.1.3
(<a href="https://github.com/KhronosGroup/OpenCL-Docs/releases/tag/cxxforopencl-v1.0-r1">https://github.com/KhronosGroup/OpenCL-Docs/releases/tag/cxxforopencl-v1.0-r1</a>)

It is possible that some other versions of the language will relax it however
it doesn't seem easy at the moment with the C++ position on this. It is very
easy to work around the issue by mapping to __restrict for use cases that
guarantee to work correctly.</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>