Lines Matching refs:fnCandidate
1123 bool TParseContext::functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *ag… in functionCallLValueErrorCheck() argument
1125 for(size_t i = 0; i < fnCandidate->getParamCount(); ++i) in functionCallLValueErrorCheck()
1127 TQualifier qual = fnCandidate->getParam(i).type->getQualifier(); in functionCallLValueErrorCheck()
3667 const TFunction *fnCandidate; in addFunctionCallOrMethod() local
3669 fnCandidate = findFunction(loc, fnCall, &builtIn); in addFunctionCallOrMethod()
3670 if(fnCandidate) in addFunctionCallOrMethod()
3675 if(builtIn && !fnCandidate->getExtension().empty() && in addFunctionCallOrMethod()
3676 extensionErrorCheck(loc, fnCandidate->getExtension())) in addFunctionCallOrMethod()
3680 op = fnCandidate->getBuiltInOp(); in addFunctionCallOrMethod()
3686 if(fnCandidate->getParamCount() == 1) in addFunctionCallOrMethod()
3691 callNode = createUnaryMath(op, paramNode->getAsTyped(), loc, &fnCandidate->getReturnType()); in addFunctionCallOrMethod()
3706 aggregate->setType(fnCandidate->getReturnType()); in addFunctionCallOrMethod()
3709 functionCallLValueErrorCheck(fnCandidate, aggregate); in addFunctionCallOrMethod()
3713 if(fnCandidate->getParamCount() == 2) in addFunctionCallOrMethod()
3738 aggregate->setType(fnCandidate->getReturnType()); in addFunctionCallOrMethod()
3745 aggregate->setName(fnCandidate->getMangledName()); in addFunctionCallOrMethod()
3749 functionCallLValueErrorCheck(fnCandidate, aggregate); in addFunctionCallOrMethod()