<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/57748>57748</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
No custom C++11 attributes are parsed
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JhnW
</td>
</tr>
</table>
<pre>
Hi.
The C ++ 17 standard specifies that attributes not defined in the compiler implementation will be ignored without error. I am using the C ++ 17 clang parser module to extract information (being strict, python bins but it doesn't matter now).
**Clang ignores unfamiliar attributes at the stage of parsing the code.**
This is quite a problem for my project, libclang is a great parser, and information about unfamiliar attributes (even as UNEXPOSED_ATTR) along with parsing their arguments would make it easier to use it as part of an advanced processor (something I do in my own project).
Is it possible to expose this information in clang lib and ignore it at another stage?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxtk0FvnDAQhX8NXEZF4F2yy4FDuknU9JBWbar2VtkwC26NTW2Tbf59H6BNNlIlS9jYvHnvG6Nc-1x_0Bkl-U2SXz_2TAdKxHsMKnYUorSt9C2FkRt91Bwo9jKSjNFrNUWsrYvU8lFbbklbbDM1bhi1YU96GA0PbKOM2lk6aWNIMenOOo_jJx17N0Vi753P6J7kQFPQtltULn00RuLtKH2A6uDayTBFR_w3etlE1D06P6xFErFXPGsEWGxiIg40PqOOJaVtIJgmDceOg03ELhI-ixC17pSI6swhEfM4LFVXt4Eme5SDNlr6y_iAMZsFqI7JHReP5wSNazlbpV746kAYfyYdmSSN3ikQItin4Xle_uLVs9FqDY3TkjrPKLTmn3fRlTehpZo5_t8hgPAT40ygbw-3Pz5_-np78_P68fEL8pI0DjXmRlw61xDw3TR3LtDJTaYFpt88g2MZNHAB_hSWF5DFl3HOLlGkfZK2QW8RpeEQkAv1gxs49rP4PcjP1wRh3cm-Bq6yFdB9mDVHF4JW5x5jhdlC7iIyRFZAILXyWPq0WMLAtezhc-lLsrlLuS6urjbFfleUIm3rTVttKplGHQ3XD46aKUQ30GG9ckXxpsVQXdC36eRN3cc4hmSDrt5hdEA3qQxXHgtjns6Pdy_R7nQIEwdMyt1uu0_7ep9vr6pWleLYMu_FTqq9yvOqKpp2y0IWqZGKTaiTEmaE5RMtEpgn5U2qa5ELkVfFFs-yFJnY7o_NtimRqIQAJ9ucB6lNNvvInO9SXy-W1NQFbBodYnjdlGDdWealHPTlhL_F1x97-z1d6taL73_doGmy">