Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1139 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1140 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1141 commit.insert(StrE->getBeginLoc(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaChecking.cpp7770 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
7773 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
7775 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
7777 if (StrE) { in checkFormatStringExpr()
7778 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
7783 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()