Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp1141 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1142 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1143 commit.insert(StrE->getBeginLoc(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp5938 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
5941 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
5943 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
5945 if (StrE) { in checkFormatStringExpr()
5946 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
5951 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()