Lines Matching refs:ArgType

3749   bool checkForCStrMembers(const analyze_printf::ArgType &AT,
3808 const analyze_printf::ArgType &AT = Amt.getArgType(S.Context);
3966 const analyze_printf::ArgType &AT, const Expr *E) {
4050 const analyze_printf::ArgType &AT =
4052 ArgType(S.Context.IntTy) : ArgType::CPointerTy;
4063 const analyze_printf::ArgType &AT2 = ArgType::CStrTy;
4243 const analyze_printf::ArgType &AT = FS.getArgType(S.Context,
4253 analyze_printf::ArgType::MatchKind match = AT.matchesType(S.Context, ExprTy);
4255 if (match == analyze_printf::ArgType::Match) {
4353 if (match == analyze_format_string::ArgType::NoMatchPedantic) {
4439 if (match == analyze_printf::ArgType::NoMatchPedantic) {
4621 const analyze_format_string::ArgType &AT = FS.getArgType(S.Context);
4627 analyze_format_string::ArgType::MatchKind match =
4629 if (match == analyze_format_string::ArgType::Match) {
4638 if (match == analyze_format_string::ArgType::NoMatchPedantic) {
4830 static unsigned getBestAbsFunction(ASTContext &Context, QualType ArgType,
4833 uint64_t ArgSize = Context.getTypeSize(ArgType);
4840 else if (Context.hasSameType(ParamType, ArgType)) {
4966 unsigned AbsKind, QualType ArgType) {
4970 if (S.getLangOpts().CPlusPlus && !ArgType->isAnyComplexType()) {
4972 if (ArgType->isIntegralOrEnumerationType()) {
4974 } else if (ArgType->isRealFloatingType()) {
5002 if (getAbsoluteValueKind(ArgType) == getAbsoluteValueKind(ParamType) &&
5003 S.Context.getTypeSize(ArgType) <=
5081 QualType ArgType = Call->getArg(0)->IgnoreParenImpCasts()->getType();
5086 if (ArgType->isUnsignedIntegerType()) {
5089 Diag(Call->getExprLoc(), diag::warn_unsigned_abs) << ArgType << ParamType;
5098 if (ArgType->isPointerType() || ArgType->canDecayToPointerType()) {
5100 if (ArgType->isFunctionType())
5102 else if (ArgType->isArrayType())
5105 Diag(Call->getExprLoc(), diag::warn_pointer_abs) << DiagType << ArgType;
5114 AbsoluteValueKind ArgValueKind = getAbsoluteValueKind(ArgType);
5120 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType))
5123 unsigned NewAbsKind = getBestAbsFunction(Context, ArgType, AbsKind);
5125 << FDecl << ArgType << ParamType;
5131 Call->getCallee()->getSourceRange(), NewAbsKind, ArgType);
5139 NewAbsKind = getBestAbsFunction(Context, ArgType, NewAbsKind);
5147 Call->getCallee()->getSourceRange(), NewAbsKind, ArgType);