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 af789d5 commit 41777b9Copy full SHA for 41777b9
lib/AST/ASTPrinter.cpp
@@ -756,12 +756,6 @@ class PrintAST : public ASTVisitor<PrintAST> {
756
757
void printTransformedTypeWithOptions(Type T, PrintOptions options) {
758
if (CurrentType && Current && CurrentType->mayHaveMembers()) {
759
- if (T->hasArchetype()) {
760
- // Get the interface type, since TypeLocs still have
761
- // contextual types in them.
762
- T = T->mapTypeOutOfContext();
763
- }
764
-
765
auto *M = Current->getDeclContext()->getParentModule();
766
SubstitutionMap subMap;
767
0 commit comments