<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/110721>110721</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Assertion `CapturedVar->isInitCapture()' failed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang,
concepts,
crash-on-valid
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dcb314
</td>
</tr>
</table>
<pre>
Recent clang says:
clang++: /home/dcb40b/llvm/trunk/clang/lib/Sema/SemaConcept.cpp:719: clang::Sema::addInstantiatedCapturesToScope(clang::FunctionDecl*, const clang::FunctionDecl*, clang::LocalInstantiationScope&, const clang::MultiLevelTemplateArgumentList&)::<lambda(const clang::ValueDecl*, unsigned int)>: Assertion `CapturedVar->isInitCapture()' failed.
[connectionencryptiondata_p-e2be0f.sh.gz](https://github.com/user-attachments/files/17214449/connectionencryptiondata_p-e2be0f.sh.gz)
[connectionencryptiondata_p-e2be0f.cpp.gz](https://github.com/user-attachments/files/17214453/connectionencryptiondata_p-e2be0f.cpp.gz)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysVM1upDgQfprighpB8dccOJDuIEXKXjZRrqvCrm6867YRNi1ln35kmlFHo9FMZjQSwqZ-v6qvCnJOnQ1zC-UDlMeIFj_auZViyLMiGqx8b_9mwcbHQpM5x47eHeQdpEdIt_eqAHwIT97FgP1oLwzYSzEU6QDYa329APZ-Xsx_gP3m0GsVlC98oe04WCN48omYJsi7OmtCvJt13kHerabrjaR8Ms6T8Yo8ywNNfpnZvdoXYScG3H_w6hcjvLLmyEIDdoCHWFjjfPwTm7v22QrS93zKmi1N9d1gfy3aq2e-sn7ly6TJczeflwsb_6ycX72amyXkB02XQVJA_G2YN9ILfwC0mJUqGSvj1wiPoT2dczwHSDFU6dYH-UbzDvJH5Z6M8psQcB-8sI5PpDTL5COHUD4IawyvTWAj5vcp3CR5-mfaMQ6cnhI3Juf_oTwC7kfvp3UOsAfsz8qPy5AIG1heHM878p7EGEp2gP1JaQ5nVmNWFEUTZuCT2bD5BYBimv4IwjL_FMIt3VeIkWxz2eQNRdxmNdb7dJ9VWTS21amp60FUhIUYJFMjWVQ8VNzQIJpTGakWUyyyNM2yfYFFmpQ5iQz3VFRYpSI7QZHyhZROwiYldj5HyrmF2yxLa8wiTQNrt64w4rZdCHgIX7eVcnfBTG7cWbO7klYyiMtjNLch8G5Yzg6KVCvn3T2VV15z-9tzFi2zbn_AxvZzWAFMs_2XhQfs1_pWRm4lXlv8EgAA___pQH_H">