Hello,

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.

Please find the corresponding patch attached.

Kind regards,
Daniel

Attachment: FieldDeclLocPatch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to