Lines Matching refs:fnCandidate
1075 bool TParseContext::functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *aggregate)
1077 for(size_t i = 0; i < fnCandidate->getParamCount(); ++i)
1079 TQualifier qual = fnCandidate->getParam(i).type->getQualifier();
3576 const TFunction *fnCandidate;
3578 fnCandidate = findFunction(loc, fnCall, &builtIn);
3579 if(fnCandidate)
3584 if(builtIn && !fnCandidate->getExtension().empty() &&
3585 extensionErrorCheck(loc, fnCandidate->getExtension()))
3589 op = fnCandidate->getBuiltInOp();
3595 if(fnCandidate->getParamCount() == 1)
3600 callNode = createUnaryMath(op, paramNode->getAsTyped(), loc, &fnCandidate->getReturnType());
3615 aggregate->setType(fnCandidate->getReturnType());
3618 functionCallLValueErrorCheck(fnCandidate, aggregate);
3622 if(fnCandidate->getParamCount() == 2)
3647 aggregate->setType(fnCandidate->getReturnType());
3654 aggregate->setName(fnCandidate->getMangledName());
3658 functionCallLValueErrorCheck(fnCandidate, aggregate);