Lines Matching defs:NewType
680 QualType NewType = New->getType();
685 if (const ReferenceType *R = NewType->getAs<ReferenceType>()) {
686 NewType = R->getPointeeType();
688 } else if (const PointerType *P = NewType->getAs<PointerType>()) {
689 NewType = P->getPointeeType();
691 } else if (const MemberPointerType *M = NewType->getAs<MemberPointerType>()) {
692 NewType = M->getPointeeType();
696 if (!NewType->isFunctionProtoType())
704 NewType->getAs<FunctionProtoType>(), New->getLocation())) {