Home
last modified time | relevance | path

Searched refs:FormatExpr (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprObjC.cpp2383 Expr *FormatExpr = Args[Idx]; in DiagnoseCStringFormatDirectiveInObjCAPI() local
2385 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) { in DiagnoseCStringFormatDirectiveInObjCAPI()
2388 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInObjCAPI()
H A DSemaChecking.cpp4014 const Expr *FormatExpr = Args[Idx]; in DiagnoseCStringFormatDirectiveInCFAPI() local
4015 if (const CStyleCastExpr *CSCE = dyn_cast<CStyleCastExpr>(FormatExpr)) in DiagnoseCStringFormatDirectiveInCFAPI()
4016 FormatExpr = CSCE->getSubExpr(); in DiagnoseCStringFormatDirectiveInCFAPI()
4019 dyn_cast<ObjCStringLiteral>(FormatExpr->IgnoreParenImpCasts())) in DiagnoseCStringFormatDirectiveInCFAPI()
4022 FormatString = dyn_cast<StringLiteral>(FormatExpr->IgnoreParenImpCasts()); in DiagnoseCStringFormatDirectiveInCFAPI()
4026 S.Diag(FormatExpr->getExprLoc(), diag::warn_objc_cdirective_format_string) in DiagnoseCStringFormatDirectiveInCFAPI()