[clang] [mlir] [Clang]Check for a valid Index in array before getting it (PR #172399)
Balaji V. Iyer. via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 1 09:29:12 PST 2026
================
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 --std=c++17 -fexperimental-new-constant-interpreter -verify=experiment %s
+// RUN: %clang_cc1 --std=c++17 -triple x86_64-pc-win32 -verify=experiment %s
+// RUN: %clang_cc1 --std=c++17 -triple x86_64-pc-linux -verify=none %s
+
+#ifndef _MSC_VER
+// none-no-diagnostics
----------------
bviyer wrote:
Without this change, it is failing the windows CI: https://github.com/llvm/llvm-project/actions/runs/20447845257/job/58754784851
https://github.com/llvm/llvm-project/pull/172399
More information about the cfe-commits
mailing list