Lines Matching refs:ExprTy
4239 QualType ExprTy = E->getType(); in checkFormatExpr() local
4240 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
4241 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
4244 analyze_printf::ArgType::MatchKind match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
4258 ExprTy = E->getType(); in checkFormatExpr()
4266 if (AT.matchesType(S.Context, ExprTy)) in checkFormatExpr()
4274 if (ExprTy == S.Context.IntTy) in checkFormatExpr()
4276 ExprTy = S.Context.CharTy; in checkFormatExpr()
4281 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
4282 ExprTy = EnumTy->getDecl()->getIntegerType(); in checkFormatExpr()
4289 QualType IntendedTy = ExprTy; in checkFormatExpr()
4292 if (ExprTy->isIntegralOrUnscopedEnumerationType() && in checkFormatExpr()
4293 !ExprTy->isCharType()) { in checkFormatExpr()
4342 if (IntendedTy == ExprTy && !ShouldNotPrintDirectly) { in checkFormatExpr()
4399 if (const TypedefType *TypedefTy = dyn_cast<TypedefType>(ExprTy)) in checkFormatExpr()
4414 << AT.getRepresentativeTypeName(S.Context) << ExprTy << IsEnum in checkFormatExpr()
4426 switch (S.isValidVarArgType(ExprTy)) { in checkFormatExpr()
4435 S.PDiag(diag) << AT.getRepresentativeTypeName(S.Context) << ExprTy in checkFormatExpr()
4445 << ExprTy in checkFormatExpr()
4455 if (ExprTy->isObjCObjectType()) in checkFormatExpr()
4459 << ExprTy in checkFormatExpr()
4469 << isa<InitListExpr>(E) << ExprTy << CallType in checkFormatExpr()