This reverts commit r286533. At this point an array really is still an
array, but the problem is with /non-/array va_lists anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@286541
91177308-0d34-0410-b5e6-
96231b3b80d8
}
auto isVaList = [&S](QualType T) -> bool {
- // Handle array va_list parameters that decayed to pointers.
- if (auto *decayedTy = T->getAs<DecayedType>())
- T = decayedTy->getOriginalType();
-
auto *typedefTy = T->getAs<TypedefType>();
if (!typedefTy)
return false;