Lines Matching refs:ExprTy
7250 QualType ExprTy = E->getType(); in checkFormatExpr() local
7251 while (const TypeOfExprType *TET = dyn_cast<TypeOfExprType>(ExprTy)) { in checkFormatExpr()
7252 ExprTy = TET->getUnderlyingExpr()->getType(); in checkFormatExpr()
7258 if (ExprTy->canDecayToPointerType()) in checkFormatExpr()
7259 ExprTy = S.Context.getDecayedType(ExprTy); in checkFormatExpr()
7280 ExprTy->isObjCObjectPointerType()) { in checkFormatExpr()
7289 ArgType::MatchKind Match = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
7307 ExprTy = E->getType(); in checkFormatExpr()
7315 ImplicitMatch = AT.matchesType(S.Context, ExprTy); in checkFormatExpr()
7334 if (ExprTy == S.Context.IntTy && in checkFormatExpr()
7337 ExprTy = S.Context.CharTy; in checkFormatExpr()
7363 QualType IntendedTy = ExprTy; in checkFormatExpr()
7364 if (auto EnumTy = ExprTy->getAs<EnumType>()) { in checkFormatExpr()
7367 ExprTy = IntendedTy; in checkFormatExpr()
7381 if (ExprTy->isIntegralOrUnscopedEnumerationType() && in checkFormatExpr()
7382 !ExprTy->isCharType()) { in checkFormatExpr()
7439 if (IntendedTy == ExprTy && !ShouldNotPrintDirectly && !IsScopedEnum) { in checkFormatExpr()
7516 if (const auto *TypedefTy = ExprTy->getAs<TypedefType>()) in checkFormatExpr()
7538 S.PDiag(Diag) << AT.getRepresentativeTypeName(S.Context) << ExprTy in checkFormatExpr()
7550 switch (S.isValidVarArgType(ExprTy)) { in checkFormatExpr()
7572 S.PDiag(Diag) << AT.getRepresentativeTypeName(S.Context) << ExprTy in checkFormatExpr()
7584 << S.getLangOpts().CPlusPlus11 << ExprTy << CallType in checkFormatExpr()
7595 else if (ExprTy->isObjCObjectType()) in checkFormatExpr()
7598 << S.getLangOpts().CPlusPlus11 << ExprTy << CallType in checkFormatExpr()
7606 << isa<InitListExpr>(E) << ExprTy << CallType in checkFormatExpr()
7619 << AT.getRepresentativeTypeName(S.Context) << ExprTy << false in checkFormatExpr()