Lines Matching refs:ParamIndex
63 unsigned ParamIndex; member
1004 unsigned ParamIndex) { in isConventionalSwiftAsync() argument
1010 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
1047 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce() local
1049 return shouldBeCalledOnce(Function, ParamIndex); in shouldBeCalledOnce()
1052 return shouldBeCalledOnce(Method, ParamIndex); in shouldBeCalledOnce()
1057 bool shouldBeCalledOnce(const BlockDecl *Block, unsigned ParamIndex) const { in shouldBeCalledOnce()
1058 return shouldBeCalledOnce(Block->getParamDecl(ParamIndex)); in shouldBeCalledOnce()
1062 unsigned ParamIndex) const { in shouldBeCalledOnce()
1063 if (ParamIndex >= Function->getNumParams()) { in shouldBeCalledOnce()
1068 isConventionalSwiftAsync(Function, ParamIndex)) { in shouldBeCalledOnce()
1072 return shouldBeCalledOnce(Function->getParamDecl(ParamIndex)) || in shouldBeCalledOnce()
1078 unsigned ParamIndex) const { in shouldBeCalledOnce()
1080 if (ParamIndex >= MethodSelector.getNumArgs()) { in shouldBeCalledOnce()
1085 if (auto ConventionalAsync = isConventionalSwiftAsync(Method, ParamIndex)) { in shouldBeCalledOnce()
1089 const ParmVarDecl *Parameter = Method->getParamDecl(ParamIndex); in shouldBeCalledOnce()
1092 isConventionalSelectorPiece(MethodSelector, ParamIndex, in shouldBeCalledOnce()
1096 bool shouldBeCalledOnce(const CallExpr *Call, unsigned ParamIndex) const { in shouldBeCalledOnce()
1098 return Function && shouldBeCalledOnce(Function, ParamIndex); in shouldBeCalledOnce()
1102 unsigned ParamIndex) const { in shouldBeCalledOnce()
1104 return Method && ParamIndex < Method->param_size() && in shouldBeCalledOnce()
1105 shouldBeCalledOnce(Method, ParamIndex); in shouldBeCalledOnce()
1174 unsigned ParamIndex) const { in shouldBlockArgumentBeCalledOnce()
1176 return shouldBlockArgumentBeCalledOnce(Function, ParamIndex) || in shouldBlockArgumentBeCalledOnce()
1177 shouldBeCalledOnce(Call, ParamIndex); in shouldBlockArgumentBeCalledOnce()
1181 unsigned ParamIndex) const { in shouldBlockArgumentBeCalledOnce()
1184 return shouldBeCalledOnce(Message, ParamIndex); in shouldBlockArgumentBeCalledOnce()
1188 unsigned ParamIndex) { in shouldBlockArgumentBeCalledOnce() argument
1196 [Function, ParamIndex]( in shouldBlockArgumentBeCalledOnce()
1200 Reference.ParamIndex == ParamIndex; in shouldBlockArgumentBeCalledOnce()