We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243dbc0 commit c17d35aCopy full SHA for c17d35a
lib/AST/ASTDumper.cpp
@@ -4030,12 +4030,10 @@ namespace {
4030
printCommon("type_alias_type", label);
4031
4032
printFieldQuoted(T->getDecl()->printRef(), "decl");
4033
- if (auto underlying = T->getSinglyDesugaredType()) {
4034
- printRec(underlying, "underlying");
4035
- } else {
4036
- // This can't actually happen
4037
- printFlag("unresolved_underlying");
4038
- }
+ printRec(T->getSinglyDesugaredType(), "underlying");
+
+ if (auto subs = T->getSubstitutionMap())
+ printRec(subs, "substitutions");
4039
4040
if (T->getParent())
4041
printRec(T->getParent(), "parent");
0 commit comments