summaryrefslogtreecommitdiff
path: root/tests/headers/nested-template-typedef.hpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@fb.com>2021-07-28 21:14:12 -0700
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-07-31 13:33:42 +0200
commit546454625caa66eddc9400bc7a1048edf2a9fbc8 (patch)
treecf1038c84cdd8e7f2ceb0d098118b8c5292f6cc7 /tests/headers/nested-template-typedef.hpp
parent6b7e3eac43a7fd85baef31caf70174c00356ef6a (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