Lines Matching refs:argTy

323 ArgType::matchesType(ASTContext &C, QualType argTy) const {  in matchesType()
327 if (argTy->canDecayToPointerType()) in matchesType()
328 argTy = C.getDecayedType(argTy); in matchesType()
332 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
340 argTy = PT->getPointeeType(); in matchesType()
351 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
356 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
359 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
374 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
378 argTy = C.IntTy; in matchesType()
380 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
382 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
384 if (T == argTy) in matchesType()
387 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
421 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
440 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
451 if (C.getCanonicalType(argTy).getUnqualifiedType() == WInt) in matchesType()
454 QualType PromoArg = argTy->isPromotableIntegerType() in matchesType()
455 ? C.getPromotedIntegerType(argTy) in matchesType()
456 : argTy; in matchesType()
469 if (argTy->isVoidPointerType()) { in matchesType()
471 } if (argTy->isPointerType() || argTy->isObjCObjectPointerType() || in matchesType()
472 argTy->isBlockPointerType() || argTy->isNullPtrType()) { in matchesType()
479 if (argTy->getAs<ObjCObjectPointerType>() || in matchesType()
480 argTy->getAs<BlockPointerType>()) in matchesType()
484 if (const PointerType *PT = argTy->getAs<PointerType>()) { in matchesType()