Lines Matching defs:Old
6759 QualType wrap(ASTContext &C, QualType Old, unsigned I) {
6761 return C.getQualifiedType(Fn, Old.getQualifiers());
6765 SplitQualType SplitOld = Old.split();
6773 QualType wrap(ASTContext &C, const Type *Old, unsigned I) {
6780 return wrap(C, Old->getUnqualifiedDesugaredType(), I);
6783 return wrap(C, cast<AttributedType>(Old)->getEquivalentType(), I);
6786 QualType New = wrap(C, cast<ParenType>(Old)->getInnerType(), I);
6791 return wrap(C, cast<MacroQualifiedType>(Old)->getUnderlyingType(), I);
6794 if (const auto *CAT = dyn_cast<ConstantArrayType>(Old)) {
6801 if (const auto *VAT = dyn_cast<VariableArrayType>(Old)) {
6808 const auto *IAT = cast<IncompleteArrayType>(Old);
6815 QualType New = wrap(C, cast<PointerType>(Old)->getPointeeType(), I);
6820 QualType New = wrap(C, cast<BlockPointerType>(Old)->getPointeeType(),I);
6825 const MemberPointerType *OldMPT = cast<MemberPointerType>(Old);
6831 const ReferenceType *OldRef = cast<ReferenceType>(Old);