Cleanup. No functionality change.

llvm-svn: 212667
This commit is contained in:
Richard Smith 2014-07-10 01:20:17 +00:00
parent 1b49db6035
commit 8b4e1e2c8d
1 changed files with 2 additions and 2 deletions

View File

@ -3428,7 +3428,7 @@ QualType ASTContext::getPackExpansionType(QualType Pattern,
// contains an alias template specialization which ignores one of its
// parameters.
if (Canon->containsUnexpandedParameterPack()) {
Canon = getPackExpansionType(getCanonicalType(Pattern), NumExpansions);
Canon = getPackExpansionType(Canon, NumExpansions);
// Find the insert position again, in case we inserted an element into
// PackExpansionTypes and invalidated our insert position.
@ -3439,7 +3439,7 @@ QualType ASTContext::getPackExpansionType(QualType Pattern,
T = new (*this) PackExpansionType(Pattern, Canon, NumExpansions);
Types.push_back(T);
PackExpansionTypes.InsertNode(T, InsertPos);
return QualType(T, 0);
return QualType(T, 0);
}
/// CmpProtocolNames - Comparison predicate for sorting protocols