[clang] [Clang]Check for a valid Index in array before getting it (PR #172399)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 16 02:16:08 PST 2025
================
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -verify %s
+
+// ref-no-diagnostics
----------------
Fznamznon wrote:
I think since there is no `ref` prefix passed to `verify` option that is not really required.
```suggestion
```
https://github.com/llvm/llvm-project/pull/172399
More information about the cfe-commits
mailing list