[ParameterTypeFlags] Incorporate review feedback

This commit is contained in:
Michael Ilseman
2016-09-22 10:08:26 -07:00
parent 8923a12585
commit 0bb868a539
10 changed files with 65 additions and 53 deletions

View File

@@ -623,7 +623,7 @@ static Type removeArgumentLabels(Type type, unsigned numArgumentLabels) {
SmallVector<TupleTypeElt, 4> elements;
elements.reserve(tupleTy->getNumElements());
for (const auto &elt : tupleTy->getElements()) {
elements.push_back(elt.getWithName());
elements.push_back(elt.getWithoutName());
}
inputType = TupleType::get(elements, type->getASTContext());
}