Home
last modified time | relevance | path

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

/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1126 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1127 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1128 commit.insert(StrE->getLocStart(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/external/llvm-project/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp1138 StrE = dyn_cast<StringLiteral>(OrigArg->IgnoreParens())) { in doRewriteToUTF8StringBoxedExpressionHelper() local
1139 commit.replaceWithInner(Msg->getSourceRange(), StrE->getSourceRange()); in doRewriteToUTF8StringBoxedExpressionHelper()
1140 commit.insert(StrE->getBeginLoc(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
/external/clang/tools/libclang/
DCIndex.cpp3554 const StringLiteral *StrE = nullptr; in evaluateExpr() local
3559 StrE = ObjCExpr->getString(); in evaluateExpr()
3562 StrE = cast<StringLiteral>(I->getSubExprAsWritten()); in evaluateExpr()
3566 std::string strRef(StrE->getString().str()); in evaluateExpr()
3575 const StringLiteral *StrE = nullptr; in evaluateExpr() local
3580 StrE = ObjCExpr->getString(); in evaluateExpr()
3583 StrE = cast<StringLiteral>(expr); in evaluateExpr()
3587 std::string strRef(StrE->getString().str()); in evaluateExpr()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp3946 const StringLiteral *StrE = nullptr; in evaluateExpr() local
3951 StrE = ObjCExpr->getString(); in evaluateExpr()
3954 StrE = cast<StringLiteral>(I->getSubExprAsWritten()); in evaluateExpr()
3958 std::string strRef(StrE->getString().str()); in evaluateExpr()
3967 const StringLiteral *StrE = nullptr; in evaluateExpr() local
3972 StrE = ObjCExpr->getString(); in evaluateExpr()
3975 StrE = cast<StringLiteral>(expr); in evaluateExpr()
3979 std::string strRef(StrE->getString().str()); in evaluateExpr()
/external/clang/lib/Sema/
DSemaChecking.cpp3989 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
3992 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
3994 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
3996 if (StrE) { in checkFormatStringExpr()
3997 CheckFormatString(S, StrE, E, Args, HasVAListArg, format_idx, in checkFormatStringExpr()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp7295 const StringLiteral *StrE = nullptr; in checkFormatStringExpr() local
7298 StrE = ObjCFExpr->getString(); in checkFormatStringExpr()
7300 StrE = cast<StringLiteral>(E); in checkFormatStringExpr()
7302 if (StrE) { in checkFormatStringExpr()
7303 if (Offset.isNegative() || Offset > StrE->getLength()) { in checkFormatStringExpr()
7308 FormatStringLiteral FStr(StrE, Offset.sextOrTrunc(64).getSExtValue()); in checkFormatStringExpr()