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.cpp1143 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1144 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1145 commit.insert(StrE->getBeginLoc(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp6528 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
6531 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
6533 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
6535 if (StrE) { in checkFormatStringExpr()
6536 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
6541 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()