• Home
  • Raw
  • Download

Lines Matching refs:ArgRange

190   SourceRange ArgRange = Msg->getArg(0)->getSourceRange();  in rewriteToSubscriptGetCommon()  local
193 ArgRange.getBegin()), in rewriteToSubscriptGetCommon()
195 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
196 ArgRange); in rewriteToSubscriptGetCommon()
197 commit.insertWrap("[", ArgRange, "]"); in rewriteToSubscriptGetCommon()
401 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToArrayLiteral() local
402 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
403 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
422 SourceRange ArgRange(Msg->getArg(0)->getBeginLoc(), in rewriteToArrayLiteral() local
424 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
425 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
552 SourceRange ArgRange(Msg->getArg(1)->getBeginLoc(), in rewriteToDictionaryLiteral() local
554 commit.insertWrap("@{", ArgRange, "}"); in rewriteToDictionaryLiteral()
555 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToDictionaryLiteral()
593 SourceRange ArgRange(Keys.front()->getBeginLoc(), Keys.back()->getEndLoc()); in rewriteToDictionaryLiteral() local
594 commit.insertWrap("@{", ArgRange, "}"); in rewriteToDictionaryLiteral()
595 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToDictionaryLiteral()
649 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToCharLiteral() local
650 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToCharLiteral()
651 commit.insert(ArgRange.getBegin(), "@"); in rewriteToCharLiteral()
663 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToBoolLiteral() local
664 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToBoolLiteral()
665 commit.insert(ArgRange.getBegin(), "@"); in rewriteToBoolLiteral()
826 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToNumberLiteral() local
832 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToNumberLiteral()
833 commit.insert(ArgRange.getBegin(), "@"); in rewriteToNumberLiteral()
839 if (ArgRange.getBegin().isMacroID()) in rewriteToNumberLiteral()
857 if (!getLiteralInfo(ArgRange, LitIsFloat, isIntZero, Ctx, LitInfo)) in rewriteToNumberLiteral()
1108 SourceRange ArgRange = OrigArg->getSourceRange(); in rewriteToNumericBoxedExpression() local
1109 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToNumericBoxedExpression()
1112 commit.insertBefore(ArgRange.getBegin(), "@"); in rewriteToNumericBoxedExpression()
1114 commit.insertWrap("@(", ArgRange, ")"); in rewriteToNumericBoxedExpression()
1147 SourceRange ArgRange = OrigArg->getSourceRange(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1148 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in doRewriteToUTF8StringBoxedExpressionHelper()
1151 commit.insertBefore(ArgRange.getBegin(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
1153 commit.insertWrap("@(", ArgRange, ")"); in doRewriteToUTF8StringBoxedExpressionHelper()