diff options
author | Patrick Walton <pcwalton@fb.com> | 2021-07-28 21:14:12 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2021-07-31 13:33:42 +0200 |
commit | 546454625caa66eddc9400bc7a1048edf2a9fbc8 (patch) | |
tree | cf1038c84cdd8e7f2ceb0d098118b8c5292f6cc7 /tests/headers/nested-template-typedef.hpp | |
parent | 6b7e3eac43a7fd85baef31caf70174c00356ef6a (diff) |
Canonicalize types before looking for their definitions.
In some esoteric cases involving nested templates,
`ty.declaration().definition()` isn't enough to find the definition: we need
`ty.canonical_type().declaration().definition()` instead.
Closes #2078.
Diffstat (limited to 'tests/headers/nested-template-typedef.hpp')
0 files changed, 0 insertions, 0 deletions