<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/111572>111572</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[HLSL] vector size and type errors have no source location
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang:diagnostics,
HLSL
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
pow2clk
</td>
</tr>
</table>
<pre>
Vectors with invalid sizes or types will display no code location for their errors given that they are defined in HLSLExternalSemaSource and not a line of HLSL. The accompanying notes will show the proper lines of code, but the errors having no location make it impossible to write verify tests for these errors
See https://godbolt.org/z/7jT7Trh8K
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUsFymzAQ_Rpx2YkHFrDNgUMal-lMc3OmdyGtYRMhMZLAdb6-IxI3nV5gJO2-ffvekyHwYIlaUX8T9SmTSxydb2d3RWXest7pW_uLVHQ-wJXjCGxXaVhD4HcK4DzE20zpzRjQHGYjb2AdKKcJjFMysrNwSXUjsQfyPkENvJKFOMqY7m8gPYGmC1vSwBZ-PJ-fv_-O5K00Z5rk2S1eEUirwboIEgxbAnfZCnfwMhJIpdw0S3tjO6SiO6cwumuaAbN3M_mtM6TWxFDgE_TLxuHObJTrB8IX-0m-EXAEnmYXAveGIDq4eo4EK3m-3CBSiOG-ZriDifwk8seP75kIxhjnIMpHgZ3AbnC6dybunB8Edu8Cu8Pry-HFj8efmW5L3ZSNzKgtDnisiny_L7Kx7bXCCo85qX3Z7Ouq1nWhygNemqLJ96rJuMUcqyLPj8Uxr7DYlVVfYn2hQ3Mg2delqHKaJJudMeuUZmccwkJtURT1ATMjezJhSwOiMtIOonzULAfrQmQVBKLAJ4GYlE-H-pT5NmE99MsQRJUbDjF8oUeOZkvX1lCfYN3StOVnMzTl5x_xKUkfPvz-60C2eNP-px7Hcel3yk0CuzTt8_cwe_dKKgrstsWCwO5zt7XFPwEAAP__of78Hw">