Searched refs:currentFunctionType (Results 1 – 7 of 7) sorted by relevance
102 void setCurrentFunctionType(const TType *currentFunctionType) in setCurrentFunctionType() argument104 mCurrentFunctionType = currentFunctionType; in setCurrentFunctionType()
87 currentFunctionType(nullptr), in TParseVersions()183 … const TType* currentFunctionType; // the return type of the function that's currently being parsed variable
1055 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()1057 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()1426 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()1429 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()1430 … TIntermTyped* converted = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()1432 if (*currentFunctionType != converted->getType()) in handleReturnValue()1445 branch->updatePrecision(currentFunctionType->getQualifier().precision); in handleReturnValue()
3796 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)3856 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…3869 // Set currentFunctionType to empty pointer when goes outside of the function3870 parseContext.currentFunctionType = nullptr;
3796 if (parseContext.currentFunctionType->getBasicType() != EbtVoid)3856 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV…3870 parseContext.currentFunctionType = nullptr;
10225 if (parseContext.currentFunctionType->getBasicType() != EbtVoid) in yyparse()10317 …if (parseContext.currentFunctionType->getBasicType() != EbtVoid && ! parseContext.functionReturnsV… in yyparse()10331 parseContext.currentFunctionType = nullptr; in yyparse()
1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()1672 currentFunctionType = new TType(EbtVoid); in handleFunctionDefinition()2426 if (currentFunctionType->getBasicType() == EbtVoid) { in handleReturnValue()2429 } else if (*currentFunctionType != value->getType()) { in handleReturnValue()2430 value = intermediate.addConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2431 if (value && *currentFunctionType != value->getType()) in handleReturnValue()2432 value = intermediate.addUniShapeConversion(EOpReturn, *currentFunctionType, value); in handleReturnValue()2433 if (value == nullptr || *currentFunctionType != value->getType()) { in handleReturnValue()