• Home
  • Raw
  • Download

Lines Matching refs:argTy

324 ArgType::matchesType(ASTContext &C, QualType argTy) const {  in matchesType()
327 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
335 argTy = PT->getPointeeType(); in matchesType()
346 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
351 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
354 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
369 if (const EnumType *ETy = argTy->getAs<EnumType>()) { in matchesType()
373 argTy = C.IntTy; in matchesType()
375 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
377 argTy = C.getCanonicalType(argTy).getUnqualifiedType(); in matchesType()
379 if (T == argTy) in matchesType()
382 if (const BuiltinType *BT = argTy->getAs<BuiltinType>()) in matchesType()
416 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
435 const PointerType *PT = argTy->getAs<PointerType>(); in matchesType()
446 if (C.getCanonicalType(argTy).getUnqualifiedType() == WInt) in matchesType()
449 QualType PromoArg = argTy->isPromotableIntegerType() in matchesType()
450 ? C.getPromotedIntegerType(argTy) in matchesType()
451 : argTy; in matchesType()
464 if (argTy->isVoidPointerType()) { in matchesType()
466 } if (argTy->isPointerType() || argTy->isObjCObjectPointerType() || in matchesType()
467 argTy->isBlockPointerType() || argTy->isNullPtrType()) { in matchesType()
474 if (argTy->getAs<ObjCObjectPointerType>() || in matchesType()
475 argTy->getAs<BlockPointerType>()) in matchesType()
479 if (const PointerType *PT = argTy->getAs<PointerType>()) { in matchesType()