Lines Matching defs:NewType
562 QualType NewType = New->getType();
567 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) {
568 NewType = R->getPointeeType();
570 } else if (const PointerType *P = NewType->getAs<PointerType>()) {
571 NewType = P->getPointeeType();
573 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) {
574 NewType = M->getPointeeType();
578 if (!NewType->isFunctionProtoType())
586 NewType->getAs<FunctionProtoType>(), New->getLocation())) {