Hello,<div><br></div><div>I have noticed that the start location of FieldDecls is different in template instantiations and in the primary template (the instantiations loose the location of leading qualifiers). The reason is that the location of qualifiers is currently not tracked in the TypeLocs. However, it makes sense to use the primary template's inner start location making the two FieldDecls have the same code range independent of the TypeLoc implementation.</div>
<div><br></div><div>Please find the corresponding patch attached.</div><div><br></div><div>Kind regards,</div><div>Daniel</div>