Multitaget function return types fixed

This commit is contained in:
Andrey Guskov
2015-04-22 15:13:56 +03:00
parent 189e892b96
commit 7f096f23e3
3 changed files with 18 additions and 15 deletions

View File

@@ -756,8 +756,7 @@ Module::AddGlobalVariable(const std::string &name, const Type *type, Expr *initE
This functions returns true and issues an error if are any illegal
types are found and returns false otherwise.
*/
static bool
lRecursiveCheckValidParamType(const Type *t, bool vectorOk) {
bool lRecursiveCheckValidParamType(const Type *t, bool vectorOk) {
const StructType *st = CastType<StructType>(t);
if (st != NULL) {
for (int i = 0; i < st->GetElementCount(); ++i)