[clang] [clang] Diagnose VLA types from an enclosing function in local classes and blocks (PR #229697)
Ivan Ugryumov via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 18 04:14:43 PDT 2026
================
@@ -4774,6 +4769,107 @@ static void captureVariablyModifiedType(ASTContext &Context, QualType T,
} while (!T.isNull() && T->isVariablyModifiedType());
}
+static void captureVariablyModifiedType(ASTContext &Context, QualType T,
----------------
Servall4 wrote:
No, it’s still used by tryCaptureVariable and the OpenMP code. There it captures the bounds along with a captured variable, which is a different path from type uses.
https://github.com/llvm/llvm-project/pull/229697
More information about the cfe-commits
mailing list