(void)CanonCheck;
DependentVectorTypes.InsertNode(New, InsertPos);
} else {
- QualType CanonExtTy = getDependentSizedExtVectorType(CanonVecTy, SizeExpr,
- SourceLocation());
+ QualType CanonTy = getDependentVectorType(CanonVecTy, SizeExpr,
+ SourceLocation(), VecKind);
New = new (*this, TypeAlignment) DependentVectorType(
- *this, VecType, CanonExtTy, SizeExpr, AttrLoc, VecKind);
+ *this, VecType, CanonTy, SizeExpr, AttrLoc, VecKind);
}
}
#endif // __cplusplus >= 201103L
}
}
+
+namespace rdar60092165 {
+template <class T> void f() {
+ typedef T first_type __attribute__((vector_size(sizeof(T) * 4)));
+ typedef T second_type __attribute__((vector_size(sizeof(T) * 4)));
+
+ second_type st;
+}
+}