Currently, template diffing does not handle cases where the templates have qualifiers. This can lead to warnings such as:<div><br></div><div>... 'vector<vector<[...]>>' cannot convert to 'vector<vector<[...]>>' ...</div>
<div><br></div><div>when the message means, can't convert from vector<const vector<int>> to vector<vector<int>>. This patch allows the internal diff tree to store the qualifiers for template types and adds new methods for finding the difference between sets of qualifiers and to print out the qualifiers. This does not affect non-template types as they already print qualifiers.</div>
<div><br></div><div>Examples:</div><div>vector<const vector<int>> and vector<vector<int>></div><div>inline: vector<const vector<[...]>> vs. vector<(missing const) vector<[...]></div>
<div>tree:</div><div>vector<</div><div> [const != (no qualifiers)] vector<</div><div> [...]>></div><div><br></div><div>vector<const vector<int>> and vector<volatile vector<int>></div>
<div>inline: vector<const (missing volatile) vector<[...]>> vs vector<volatile (missing const) vector<[...]>></div><div>tree:</div><div>vector<</div><div> [const != volatile] vector<</div><div>
[...]>></div><div><br></div><div>Highlighting is also added for the differing qualifiers.</div>