[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Analysis / region_store_overflow.c
blob505965301bc28d58fb17d4c098bb8b255f0621de
1 // RUN: %clang_analyze_cc1 -analyze -analyzer-checker=core -verify %s
3 int **h;
4 int overflow_in_memregion(long j) {
5 for (int l = 0;; ++l) {
6 if (j - l > 0)
7 return h[j - l][0]; // no-crash
9 return 0;
12 void rdar39593879(long long *d) {
13 long e, f;
14 e = f = d[1]; // no-crash
15 for (; d[e];) f-- > 0; // expected-warning{{relational comparison result unused}};