Revert "Multitaget function return types fixed"
This commit is contained in:
@@ -756,7 +756,8 @@ 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.
|
||||
*/
|
||||
bool lRecursiveCheckValidParamType(const Type *t, bool vectorOk) {
|
||||
static bool
|
||||
lRecursiveCheckValidParamType(const Type *t, bool vectorOk) {
|
||||
const StructType *st = CastType<StructType>(t);
|
||||
if (st != NULL) {
|
||||
for (int i = 0; i < st->GetElementCount(); ++i)
|
||||
|
||||
Reference in New Issue
Block a user