================
@@ -648,9 +648,9 @@ ExprResult CheckVarType(SemaOpenACC &S, OpenACCClauseKind
CK, Expr *VarExpr,
InnerTy = RefTy->getPointeeType();
if (auto *ArrTy = InnerTy->getAsArrayTypeUnsafe()) {
- // Non constant arrays decay to 'pointer', so warn and return that we're
- // successful.
if (!ArrTy->isConstantArrayType()) {
+ // Non constant arrays decay to 'pointer', so warn and return that we're
----------------
erichkeane wrote:
Please put this comment back.
https://github.com/llvm/llvm-project/pull/199178
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits