<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/113582>113582</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Implement way to find the TypeLoc for a `CountAttributedType`
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:bounds-safety
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
delcypher
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
delcypher
</td>
</tr>
</table>
<pre>
In #106321 there was a need to emit diagnostics to note where a `counted_by` attribute (and friends, e.g. `sized_by`) is.
Currently we don't have a good way of fetching the TypeLoc for a `CountAttributedType`.
This issue tracks implementing this.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkc-umzwQxZ_GbEZBYAOBhRf5chXpSt_y7itjj8GtsSN7SESfviJ_WnXZBVgaj8_5nRmVs5sComTtf4xzg15v1xkT45y1H4VaaY5J_i4XYzSb_AzAuKirTvAaaMaEcFcZFAREAxQBF0dgnJpCzOR03mshEsL90ayAdZWOayA038aNdRUoouTGlRAY71UwYJPDYDLjZ8ByKvcX2f189zM-gMslqz5YdXr-z2tKGMhvcEcwMTB-JJjVbbebYjRwVxtECxZJzy5MOzh8bVf8P2qwMT2pzjvV6Q1j9nvWVX8Zfc0ug8t5RaCk9I8Mbrl6XDDQU9blsjBSmEEMqkBZH_lw7EUrmmKWuq8M6rbtzMg1jlYdLbdKq0Zgo7oeCyd5xZt6_1reClE2vW0HrUarTNUf7cCaChflfOn9bSljmooHi6xr0fa88GpEn1_r1F6FiYnTGNdg8iEri7S9VpvkLnAY1ymzpvIuU_4jSY48ys93rsfsKIJ1wfzL3Io1eTkTXTMTJ8YvjF8mR_M6ljoujF92v9dxuKb4HTUxfnnkyYxfXpFukv8KAAD__xqL3fw">