Searched refs:currentFunctionType (Results 1 – 6 of 6) sorted by relevance
102 void setCurrentFunctionType(const TType *currentFunctionType) in setCurrentFunctionType() argument104 mCurrentFunctionType = currentFunctionType; in setCurrentFunctionType()
176 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
962 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()964 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()1310 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()1313 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()1314 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()1316 if (*currentFunctionType != converted->getType()) in handleReturnValue()
3654 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)3704 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…
10005 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()10089 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()
1663 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()1665 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()2333 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()2336 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()2337 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2338 if (value && *currentFunctionType != value->getType()) in handleReturnValue()2339 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2340 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()