[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Analysis / PR40625.cpp
blob5ebe2122945e6e8f7c83b22ab62bc1fa1b200091
1 // RUN: %clang_analyze_cc1 %s -verify \
2 // RUN: -analyzer-checker=core \
3 // RUN: -analyzer-config core.CallAndMessage:ArgPointeeInitializedness=true
5 void f(const int *end);
7 void g(const int (&arrr)[10]) {
8 f(arrr); // expected-warning{{1st function call argument is a pointer to uninitialized value}}
11 void h() {
12 int arr[10];
14 g(arr);