Skip to content
Unverified Commit 69a64174 authored by Matheus Izvekov's avatar Matheus Izvekov
Browse files

[clang] Implement divergence for TypedefType and UsingType



With this patch, TypedefTypes and UsingTypes can have an
underlying type which diverges from their corresponding
declarations.

For the TypedefType case, this can be seen when getting
the common sugared type between two redeclarations with
different sugar.

For both cases, this will become important as resugaring
is implemented, as this will allow us to resugar these
when they were dependent before instantiation.

Signed-off-by: default avatarMatheus Izvekov <mizvekov@gmail.com>

Differential Revision: https://reviews.llvm.org/D133468
parent eda6ff34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment