• Home
  • Raw
  • Download

Lines Matching refs:ArgRange

191   SourceRange ArgRange = Msg->getArg(0)->getSourceRange();  in rewriteToSubscriptGetCommon()  local
194 ArgRange.getBegin()), in rewriteToSubscriptGetCommon()
196 commit.replaceWithInner(SourceRange(ArgRange.getBegin(), MsgRange.getEnd()), in rewriteToSubscriptGetCommon()
197 ArgRange); in rewriteToSubscriptGetCommon()
198 commit.insertWrap("[", ArgRange, "]"); in rewriteToSubscriptGetCommon()
402 SourceRange ArgRange = Msg->getArg(0)->getSourceRange(); in rewriteToArrayLiteral() local
403 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
404 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
423 SourceRange ArgRange(Msg->getArg(0)->getLocStart(), in rewriteToArrayLiteral() local
425 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToArrayLiteral()
426 commit.insertWrap("@[", ArgRange, "]"); in rewriteToArrayLiteral()
553 SourceRange ArgRange(Msg->getArg(1)->getLocStart(), in rewriteToDictionaryLiteral() local
555 commit.insertWrap("@{", ArgRange, "}"); in rewriteToDictionaryLiteral()
556 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToDictionaryLiteral()
594 SourceRange ArgRange(Keys.front()->getLocStart(), in rewriteToDictionaryLiteral() local
596 commit.insertWrap("@{", ArgRange, "}"); in rewriteToDictionaryLiteral()
597 commit.replaceWithInner(MsgRange, ArgRange); in rewriteToDictionaryLiteral()
651 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToCharLiteral() local
652 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToCharLiteral()
653 commit.insert(ArgRange.getBegin(), "@"); in rewriteToCharLiteral()
665 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToBoolLiteral() local
666 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToBoolLiteral()
667 commit.insert(ArgRange.getBegin(), "@"); in rewriteToBoolLiteral()
824 SourceRange ArgRange = Arg->getSourceRange(); in rewriteToNumberLiteral() local
830 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToNumberLiteral()
831 commit.insert(ArgRange.getBegin(), "@"); in rewriteToNumberLiteral()
837 if (ArgRange.getBegin().isMacroID()) in rewriteToNumberLiteral()
855 if (!getLiteralInfo(ArgRange, LitIsFloat, isIntZero, Ctx, LitInfo)) in rewriteToNumberLiteral()
1096 SourceRange ArgRange = OrigArg->getSourceRange(); in rewriteToNumericBoxedExpression() local
1097 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in rewriteToNumericBoxedExpression()
1100 commit.insertBefore(ArgRange.getBegin(), "@"); in rewriteToNumericBoxedExpression()
1102 commit.insertWrap("@(", ArgRange, ")"); in rewriteToNumericBoxedExpression()
1135 SourceRange ArgRange = OrigArg->getSourceRange(); in doRewriteToUTF8StringBoxedExpressionHelper() local
1136 commit.replaceWithInner(Msg->getSourceRange(), ArgRange); in doRewriteToUTF8StringBoxedExpressionHelper()
1139 commit.insertBefore(ArgRange.getBegin(), "@"); in doRewriteToUTF8StringBoxedExpressionHelper()
1141 commit.insertWrap("@(", ArgRange, ")"); in doRewriteToUTF8StringBoxedExpressionHelper()