Searched refs:prevDec (Results 1 – 6 of 6) sorted by relevance
1917 …TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionPrototype() local1923 if(prevDec->isDefined()) in parseFunctionPrototype()1929 prevDec->setDefined(); in parseFunctionPrototype()1935 function->setUniqueId(prevDec->getUniqueId()); in parseFunctionPrototype()1955 mCurrentFunctionType = &(prevDec->getReturnType()); in parseFunctionPrototype()2014 …TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionDeclarator() local2021 else if(prevDec) in parseFunctionDeclarator()2023 if(prevDec->getReturnType() != function->getReturnType()) in parseFunctionDeclarator()2029 for(size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()2031 if(prevDec->getParam(i).type->getQualifier() != function->getParam(i).type->getQualifier()) in parseFunctionDeclarator()
993 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local994 if (prevDec) { in handleFunctionDeclarator()995 if (prevDec->isPrototyped() && prototype) in handleFunctionDeclarator()997 if (prevDec->getType() != function.getType()) in handleFunctionDeclarator()999 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()1000 … if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage) in handleFunctionDeclarator()1003 … if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision) in handleFunctionDeclarator()1016 if (prevDec && ! builtIn) in handleFunctionDeclarator()1043 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local1045 if (! prevDec) in handleFunctionDefinition()[all …]
1108 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local1109 if (prevDec) { in handleFunctionDeclarator()1110 if (prevDec->isPrototyped() && prototype) in handleFunctionDeclarator()1112 if (prevDec->getType() != function.getType()) in handleFunctionDeclarator()1115 if (prevDec->getSpirvInstruction() != function.getSpirvInstruction()) { in handleFunctionDeclarator()1120 for (int i = 0; i < prevDec->getParamCount(); ++i) { in handleFunctionDeclarator()1121 … if ((*prevDec)[i].type->getQualifier().storage != function[i].type->getQualifier().storage) in handleFunctionDeclarator()1124 … if ((*prevDec)[i].type->getQualifier().precision != function[i].type->getQualifier().precision) in handleFunctionDeclarator()1137 if (prevDec && ! builtIn) in handleFunctionDeclarator()1164 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local[all …]
1599 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator() local1607 if (prevDec && ! builtIn) in handleFunctionDeclarator()1654 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition() local1656 if (prevDec == nullptr) in handleFunctionDefinition()1662 if (prevDec && prevDec->isDefined()) { in handleFunctionDefinition()1666 if (prevDec && ! prevDec->isDefined()) { in handleFunctionDefinition()1667 prevDec->setDefined(); in handleFunctionDefinition()1670 currentFunctionType = &(prevDec->getType()); in handleFunctionDefinition()
3948 const TFunction *prevDec = in parseFunctionDeclarator() local3950 if (prevDec) in parseFunctionDeclarator()3952 if (prevDec->getReturnType() != function->getReturnType()) in parseFunctionDeclarator()3957 for (size_t i = 0; i < prevDec->getParamCount(); ++i) in parseFunctionDeclarator()3959 if (prevDec->getParam(i)->getType().getQualifier() != in parseFunctionDeclarator()