Revert "Add an RS-specific check forbidding array parameters."

This reverts commit 8874381c4f012f87d92e67488c6a9ec5aa35ae77

Change-Id: Ia634afbacd4875b29a985d8b075b67dce80084ed
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 8eecb7c..1550993 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -7115,14 +7115,6 @@
     T = Context.getLifetimeQualifiedType(T, lifetime);
   }
 
-  if (Context.getLangOpts().Renderscript && T->isArrayType()) {
-    // Generate Diag
-    Diag(StartLoc,
-         Diags.getCustomDiagID(clang::DiagnosticsEngine::Error,
-                               "parameters may not have array type: %0"))
-      << T;
-  }
-
   ParmVarDecl *New = ParmVarDecl::Create(Context, DC, StartLoc, NameLoc, Name,
                                          Context.getAdjustedParameterType(T), 
                                          TSInfo,