<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/100676>100676</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Type attributes attached to an ObjC method are silently ignored
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
dougsonos
</td>
</tr>
</table>
<pre>
```
@interface Cls
@end
@implementation Cls
- (void)method __attribute__((nonblocking)) {
}
@end
```
The `nonblocking` attribute is silently ignored here.
`ActOnMethodDeclaration` receives an attribute list `methodAttrs`. Attributes pertaining to Decls are found and applied correctly (in ProcessDeclAttributeList), but the remaining type attributes appear to go into the bit bucket.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsks1urDgQhZ_GbEppmYLmZ8Gik1avZpRZZN8yuAJOjI3sokd5-ytzSSc3uhJ_gqrvnFOUitGMjqgTx0dxPGdq5cmHTvt1jN75mPVef3Sikvshz0KeRCmNYwqvaiB4svH-lpzen-9182JpJseKjXdfxQ8gsLl5owW2M_HkNVyvijmYfmW6XgU2AhvnXW_98G7cKLAV2IKoH3d2ff6L7A-f2_VlIhCV_M6qJNy1wESIxpJj-wFmdD6QhokCHf6IUsnTwM_u383rmQarwhYpsQINZG4UQblvXGsiJ-Hf8U7MIYpKHuD0WRFhocDKOONGYA-JGkEFgle_Og0qnctiDWkYfAg0JIsCG-Pgv-AHijG13Hn_mMjbmJ6gXxl4Igg0f_I_FvoyFxOYVEiyowfj2G_1vWHo1-GdeE-f6a7QbdGqjLq8xrw9lg1iNnVYVMe-p7aWpVbqVVVaSdmrvDi2qikLlZkOJZayxkrKspZ4aNqKqMlVXrSY541MP25Wxh6svc0HH8bMxLhSl0tZ1VVmVU82bnuJ6Oh_2L4KxLSmoUtND_06RlHKNOn4hWHDlrqXn4GZ1TCRTpGVg-f-7Qn2zUsj_7kC2RpsNzEvURQngReBl9HwtPaHwc8CL0ltvz0swb_RwAIvm8co8LKHuHX4KwAA__9Xfhab">