• Home
  • Raw
  • Download

Lines Matching refs:ObjCMessageExpr

25 static bool checkForLiteralCreation(const ObjCMessageExpr *Msg,  in checkForLiteralCreation()
36 if (Msg->getReceiverKind() == ObjCMessageExpr::Class) in checkForLiteralCreation()
42 if (Msg->getReceiverKind() == ObjCMessageExpr::Instance) { in checkForLiteralCreation()
43 if (const ObjCMessageExpr *Rec = dyn_cast<ObjCMessageExpr>( in checkForLiteralCreation()
58 bool edit::rewriteObjCRedundantCallWithLiteral(const ObjCMessageExpr *Msg, in rewriteObjCRedundantCallWithLiteral()
117 const ObjCMessageExpr * in maybeAdjustInterfaceForSubscriptingCheck()
118 InnerMsg = dyn_cast<ObjCMessageExpr>(Receiver->IgnoreParenCasts()); in maybeAdjustInterfaceForSubscriptingCheck()
124 case ObjCMessageExpr::Instance: in maybeAdjustInterfaceForSubscriptingCheck()
125 case ObjCMessageExpr::SuperInstance: in maybeAdjustInterfaceForSubscriptingCheck()
128 case ObjCMessageExpr::Class: in maybeAdjustInterfaceForSubscriptingCheck()
131 case ObjCMessageExpr::SuperClass: in maybeAdjustInterfaceForSubscriptingCheck()
156 const ObjCMessageExpr *Msg, in canRewriteToSubscriptSyntax()
180 static bool rewriteToSubscriptGetCommon(const ObjCMessageExpr *Msg, in rewriteToSubscriptGetCommon()
203 const ObjCMessageExpr *Msg, in rewriteToArraySubscriptGet()
213 const ObjCMessageExpr *Msg, in rewriteToDictionarySubscriptGet()
223 const ObjCMessageExpr *Msg, in rewriteToArraySubscriptSet()
257 const ObjCMessageExpr *Msg, in rewriteToDictionarySubscriptSet()
289 bool edit::rewriteToObjCSubscriptSyntax(const ObjCMessageExpr *Msg, in rewriteToObjCSubscriptSyntax()
292 Msg->getReceiverKind() != ObjCMessageExpr::Instance) in rewriteToObjCSubscriptSyntax()
326 static bool rewriteToArrayLiteral(const ObjCMessageExpr *Msg,
329 static bool rewriteToDictionaryLiteral(const ObjCMessageExpr *Msg,
331 static bool rewriteToNumberLiteral(const ObjCMessageExpr *Msg,
333 static bool rewriteToNumericBoxedExpression(const ObjCMessageExpr *Msg,
335 static bool rewriteToStringBoxedExpression(const ObjCMessageExpr *Msg,
338 bool edit::rewriteToObjCLiteralSyntax(const ObjCMessageExpr *Msg, in rewriteToObjCLiteralSyntax()
367 static bool shouldNotRewriteImmediateMessageArgs(const ObjCMessageExpr *Msg,
377 static bool rewriteToArrayLiteral(const ObjCMessageExpr *Msg, in rewriteToArrayLiteral()
381 const ObjCMessageExpr *ParentMsg = in rewriteToArrayLiteral()
382 dyn_cast_or_null<ObjCMessageExpr>(PMap->getParentIgnoreParenCasts(Msg)); in rewriteToArrayLiteral()
448 if (const ObjCMessageExpr *Msg = dyn_cast<ObjCMessageExpr>(E)) { in getNSArrayObjects()
489 static bool rewriteToDictionaryLiteral(const ObjCMessageExpr *Msg, in rewriteToDictionaryLiteral()
602 static bool shouldNotRewriteImmediateMessageArgs(const ObjCMessageExpr *Msg, in shouldNotRewriteImmediateMessageArgs()
642 static bool rewriteToCharLiteral(const ObjCMessageExpr *Msg, in rewriteToCharLiteral()
658 static bool rewriteToBoolLiteral(const ObjCMessageExpr *Msg, in rewriteToBoolLiteral()
752 static bool rewriteToNumberLiteral(const ObjCMessageExpr *Msg, in rewriteToNumberLiteral()
901 isa<ObjCMessageExpr>(Expr) || in subscriptOperatorNeedsParens()
928 isa<ObjCMessageExpr>(Expr) || in castOperatorNeedsParens()
975 static bool rewriteToNumericBoxedExpression(const ObjCMessageExpr *Msg, in rewriteToNumericBoxedExpression()
1124 const ObjCMessageExpr *Msg, in doRewriteToUTF8StringBoxedExpressionHelper()
1162 static bool rewriteToStringBoxedExpression(const ObjCMessageExpr *Msg, in rewriteToStringBoxedExpression()