AST: Remove hack-around for getInterfaceType() on ParamDecl returning InOutType

Most callers did not want the InOutType here, and checked
the ParamDecl's flags instead.
This commit is contained in:
Slava Pestov
2018-06-06 16:36:56 -07:00
parent 02cf20bcd1
commit 296ce3f312
18 changed files with 78 additions and 78 deletions

View File

@@ -73,7 +73,6 @@ AbstractionPattern TypeConverter::getAbstractionPattern(VarDecl *var) {
genericSig = sig->getCanonicalSignature();
CanType swiftType = var->getInterfaceType()
->getInOutObjectType()
->getCanonicalType();
if (auto clangDecl = var->getClangDecl()) {