<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57445>57445</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
readability-container-data-pointer should ignore std::array of non zero size
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
stayprivate
</td>
</tr>
</table>
<pre>
Hello,
Would be nice if readability-container-data-pointer ignored std::array of non zero size. The danger of using ?[0] do not apply and when porting code from C where C array are transform into std::array it just create lots of noise.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyNUMtq7DAM_ZpkIyY4TjKTWXjR21L6AYWulVhJXDxWsJVe0q-vZ4Zy4W5aLCyJo8fRGdju5oW850I_FuqpUA_3_403b2EgCG4kcBNEQouD8072w8hB0AWKB4uCh5VdEIrg5sCRLCSxRfOQDWPEHXiCwAE-KTIk90kVvC4EFsOcezK4JRdmKJrnovujiu4JLOcGAVxXvwMGC38XCrBylGvhyJZginyBxysQKfv7IsyxRAxp4niBzIn_p-IE3rckMOZrhMCzpDs9l6gqydTHY90f-77rS2sae27OWIoTT-YX56flptldhZ9EKLfozSKypmuVfs42O1m2oRr5khPvP77dYY38TqPk1KW0UcpBd2rbrlyMQlXX3aiPjappGnvdjJ2l00CtHazWWHocyCeTpc3Kls5opbXqc3WbX1-dJtX1_WmatCZbn5uiVXRB56vr4orjXEZz4zBsc8qgd0nSPxBTyucSfc_HTRaOJgnua3QfWePyRtnc-H4BkcrP2A">