Lines Matching refs:ParamIndex

63   unsigned ParamIndex;  member
1003 unsigned ParamIndex) { in isConventionalSwiftAsync() argument
1009 return A->getCompletionHandlerIndex().getASTIndex() == ParamIndex; in isConventionalSwiftAsync()
1046 unsigned ParamIndex = Param->getFunctionScopeIndex(); in shouldBeCalledOnce() local
1048 return shouldBeCalledOnce(Function, ParamIndex); in shouldBeCalledOnce()
1051 return shouldBeCalledOnce(Method, ParamIndex); in shouldBeCalledOnce()
1056 bool shouldBeCalledOnce(const BlockDecl *Block, unsigned ParamIndex) const { in shouldBeCalledOnce()
1057 return shouldBeCalledOnce(Block->getParamDecl(ParamIndex)); in shouldBeCalledOnce()
1061 unsigned ParamIndex) const { in shouldBeCalledOnce()
1062 if (ParamIndex >= Function->getNumParams()) { in shouldBeCalledOnce()
1067 isConventionalSwiftAsync(Function, ParamIndex)) { in shouldBeCalledOnce()
1071 return shouldBeCalledOnce(Function->getParamDecl(ParamIndex)) || in shouldBeCalledOnce()
1077 unsigned ParamIndex) const { in shouldBeCalledOnce()
1079 if (ParamIndex >= MethodSelector.getNumArgs()) { in shouldBeCalledOnce()
1084 if (auto ConventionalAsync = isConventionalSwiftAsync(Method, ParamIndex)) { in shouldBeCalledOnce()
1088 const ParmVarDecl *Parameter = Method->getParamDecl(ParamIndex); in shouldBeCalledOnce()
1091 isConventionalSelectorPiece(MethodSelector, ParamIndex, in shouldBeCalledOnce()
1095 bool shouldBeCalledOnce(const CallExpr *Call, unsigned ParamIndex) const { in shouldBeCalledOnce()
1097 return Function && shouldBeCalledOnce(Function, ParamIndex); in shouldBeCalledOnce()
1101 unsigned ParamIndex) const { in shouldBeCalledOnce()
1103 return Method && ParamIndex < Method->param_size() && in shouldBeCalledOnce()
1104 shouldBeCalledOnce(Method, ParamIndex); in shouldBeCalledOnce()
1173 unsigned ParamIndex) const { in shouldBlockArgumentBeCalledOnce()
1175 return shouldBlockArgumentBeCalledOnce(Function, ParamIndex) || in shouldBlockArgumentBeCalledOnce()
1176 shouldBeCalledOnce(Call, ParamIndex); in shouldBlockArgumentBeCalledOnce()
1180 unsigned ParamIndex) const { in shouldBlockArgumentBeCalledOnce()
1183 return shouldBeCalledOnce(Message, ParamIndex); in shouldBlockArgumentBeCalledOnce()
1187 unsigned ParamIndex) { in shouldBlockArgumentBeCalledOnce() argument
1195 [Function, ParamIndex]( in shouldBlockArgumentBeCalledOnce()
1199 Reference.ParamIndex == ParamIndex; in shouldBlockArgumentBeCalledOnce()