Lines Matching refs:ExprTy
5123 QualType ExprTy = E->getType(); in checkFormatExpr() local
5124 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
5125 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
5128 analyze_printf::ArgType::MatchKind match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
5142 ExprTy = E->getType(); in checkFormatExpr()
5150 if (AT.matchesType(S.Context, ExprTy)) in checkFormatExpr()
5158 if (ExprTy == S.Context.IntTy) in checkFormatExpr()
5160 ExprTy = S.Context.CharTy; in checkFormatExpr()
5165 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
5166 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
5173 QualType IntendedTy = ExprTy; in checkFormatExpr()
5176 if (ExprTy->isIntegralOrUnscopedEnumerationType() && in checkFormatExpr()
5177 !ExprTy->isCharType()) { in checkFormatExpr()
5226 if (IntendedTy == ExprTy && !ShouldNotPrintDirectly) { in checkFormatExpr()
5282 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(ExprTy)) in checkFormatExpr()
5297 << AT.getRepresentativeTypeName(S.Context) << ExprTy << IsEnum in checkFormatExpr()
5309 switch (S.isValidVarArgType(ExprTy)) { in checkFormatExpr()
5318 S.PDiag(diag) << AT.getRepresentativeTypeName(S.Context) << ExprTy in checkFormatExpr()
5328 << ExprTy in checkFormatExpr()
5338 if (ExprTy->isObjCObjectType()) in checkFormatExpr()
5342 << ExprTy in checkFormatExpr()
5352 << isa<InitListExpr>(E) << ExprTy << CallType in checkFormatExpr()