r212667 - Cleanup. No functionality change.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Jul 9 18:20:17 PDT 2014
Author: rsmith
Date: Wed Jul 9 20:20:17 2014
New Revision: 212667
URL: http://llvm.org/viewvc/llvm-project?rev=212667&view=rev
Log:
Cleanup. No functionality change.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=212667&r1=212666&r2=212667&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Wed Jul 9 20:20:17 2014
@@ -3428,7 +3428,7 @@ QualType ASTContext::getPackExpansionTyp
// 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::getPackExpansionTyp
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
More information about the cfe-commits
mailing list