Searched refs:FormatExpr (Results 1 – 2 of 2) sorted by relevance
2275 Expr *FormatExpr = Args[Idx]; in DiagnoseCStringFormatDirectiveInObjCAPI() local2277 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) { in DiagnoseCStringFormatDirectiveInObjCAPI()2280 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInObjCAPI()
1248 const Expr *FormatExpr = Args[Idx]; in DiagnoseCStringFormatDirectiveInCFAPI() local1249 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()1250 FormatExpr = CSCE->getSubExpr(); in DiagnoseCStringFormatDirectiveInCFAPI()1253 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) in DiagnoseCStringFormatDirectiveInCFAPI()1256 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()1260 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInCFAPI()