Lines Matching defs:ParamIndex

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