<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/116932>116932</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Double single-quotes in "illegal vector component name" diagnostic
</td>
</tr>
<tr>
<th>Labels</th>
<td>
good first issue,
clang:frontend
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
tbaederr
</td>
</tr>
</table>
<pre>
See this test case:
https://github.com/llvm/llvm-project/blob/565a9ac7df3815ed038938942be4cf1471de4755/clang/test/SemaCXX/vector-bool.cpp#L88-L91
The double single-quotes are incorrect and usually coming from the diagnostic text containing the quotes directly, while passing a `NamedDecl` to the diagnostics engine adds single-quotes again.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUkj9v3DwMxj-NvBB3kOn_g4e8OXgK3iUdslISbauQpaskp71vX_guRYugSxcJAqnnIfkjpWQXzzyK5j_RXAra8xrimBWx4RgLFcxtfGWGvNoEmVMGTYlF9STkRcinNedrOl44CZwWm9ddnXXYBE7Ovf-6TtcYvrLOAiflghI4NW1DA-nOzFVfNmxk1Q9VP9SouNZzWXel4bprGoGTduQXgdNhLnB65Y2e394ETu-sc4gnFYI76-tVYPXS96eXoXyU9ji_rAwm7MoxJOsXx6dve8icgCKD9TrEyDoDeQN72sm5G-iwWb_AHMMG-fhuafEhZash848MOvhM1h85R_hDz9hDyN0EPsP31TqG6zFcvwCBaOX_tLG5sHailZDDJ-EE7BfrGciY9LnQhaw_F2aszFANVPBYdhXKvh7avlhHZDnL2VSkStmxanrd1l1TUTuUShmpCjuixLosUcq2xro_z9J0uqWuVC2VhCxqyRtZdz5QnUNcCpvSzmNZtkOFhSPFLt0XBHEJwcBsY8pwTxKIAp8F4oNS9TTH4DN7cwSaSxHHO3-1L0nU0tmU02-bbLPj8fI3OtaDQLTO8UIOHqQPMNfg2WfwtB3Wf0yw2KMb_3kb7z0kgdNHr-8j_gwAAP__tsYC3A">