<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/130491>130491</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang 20 fails (error: expression is not assignable) but clang 18 works fine
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
MichaelSipayung
</td>
</tr>
</table>
<pre>
In file included from /home/asus/Downloads/Simd-6.1.147/src/Simd/SimdBaseDetection.cpp:28:
/home/asus/Downloads/Simd-6.1.147/prj/cmake/../../src/Simd/SimdXml.hpp:1741:17: error: expression is not assignable
1741 | ++this;
| ^ ~~~~
/home/asus/Downloads/Simd-6.1.147/prj/cmake/../../src/Simd/SimdXml.hpp:1755:17: error: expression is not assignable
1755 | ++this;
| ^ ~~~~
/home/asus/Downloads/Simd-6.1.147/prj/cmake/../../src/Simd/SimdXml.hpp:1816:17: error: expression is not assignable
1816 | ++this;
| ^ ~~~~
/home/asus/Downloads/Simd-6.1.147/prj/cmake/../../src/Simd/SimdXml.hpp:1830:17: error: expression is not assignable
1830 | ++this;
| ^ ~~~~
4 errors generated.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJzMlD2PnDwQxz_N0FiH7DFmTUGxe_cgPUWqa9J6YQDfGYxsc5dr9rNHsBtFSppki-gomNFoXvwbjf4mRjvMRDWoE6inzKxp9KH-YtvRkHu2i_lY5yE7--6j_n9mvXXE7Ny6taOO9cFPDLAZ_USAjYlrBGye_PvsvOk2_9lO3UOZi1wUB8AmhvYWvJmTifREidpk_Zy3ywLyiBrkEfjxbxov4QWwaSfzuuXn-Y_fbwO_Ti4f9zHiUIjdgDwyCsGH3fm2BIrR-pnZyGaf2HVD5uwI-JFtVQwOj-zXD_AEeEqjjSBPW-Y1enhkoP5jl8vl8i-QlLoHSanPi6RFeQeSFuUnRpL8HiTJ70cqroMiG2imYBJ1OfBj1tWyq2RlMqq3w1ZSKqyysZa814K6QuiyNQXXCvtSH3RHh7bSoi8yWyNHxSWvhBK6qHIqS4FKV12FJGXbQ8FpMtblzr1NuQ9DZmNcqRaSF5XInDmTi7voILbOzAMgbvoT6q3g4bwOEQrubEzxZ4tkk6N6T2fIWW-siwxQ_9kSsWLnNbFrudDs3YfXyHo7U7YGV48pLXFTHmwAm8GmcT3nrZ8Am-0BN_OwBP9CbQJsdqDtJG5MbzV-DwAA___h9ZHp">