Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Edit/
H A 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()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp4183 const StringLiteral *StrE = nullptr; in evaluateExpr() local
4188 StrE = ObjCExpr->getString(); in evaluateExpr()
4191 StrE = cast<StringLiteral>(I->getSubExprAsWritten()); in evaluateExpr()
4195 std::string strRef(StrE->getString().str()); in evaluateExpr()
4204 const StringLiteral *StrE = nullptr; in evaluateExpr() local
4209 StrE = ObjCExpr->getString(); in evaluateExpr()
4212 StrE = cast<StringLiteral>(expr); in evaluateExpr()
4216 std::string strRef(StrE->getString().str()); in evaluateExpr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp8750 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
8753 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
8755 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
8757 if (StrE) { in checkFormatStringExpr()
8758 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
8763 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()