there's a good equivalent that's actually true, unfortunately.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98253
91177308-0d34-0410-b5e6-
96231b3b80d8
ParmVarDecl *NewParm;
if (OldParm) {
- assert(OldParm->getTypeSourceInfo()->getType() == T->getArgType(i));
-
NewParm = getDerived().TransformFunctionTypeParam(OldParm);
if (!NewParm)
return true;
template<typename T> struct Y : public X<T> {
Y& x() { return *this; }
};
+
+// Make sure our assertions don't get too uppity.
+namespace test0 {
+ template <class T> class A { void foo(T array[10]); };
+ template class A<int>;
+}