Searched refs:currentFunctionType (Results 1 – 6 of 6) sorted by relevance
102 void setCurrentFunctionType(const TType *currentFunctionType) in setCurrentFunctionType() argument104 mCurrentFunctionType = currentFunctionType; in setCurrentFunctionType()
87 currentFunctionType(nullptr), in TParseVersions()189 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
1233 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()1235 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()1648 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()1651 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()1652 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()1654 if (*currentFunctionType != converted->getType()) in handleReturnValue()1673 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
4048 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)4118 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…4133 parseContext.currentFunctionType = nullptr;
11716 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()11835 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()11850 parseContext.currentFunctionType = nullptr; in yyparse()
1673 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()1675 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()2459 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()2462 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()2463 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2464 if (value && *currentFunctionType != value->getType()) in handleReturnValue()2465 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2466 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()