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