Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1140 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1141 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1142 commit.insert(StrE->getBeginLoc(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp10737 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
10740 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
10742 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
10744 if (StrE) { in checkFormatStringExpr()
10745 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
10750 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()