[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Analysis / flexignore.c
blobae2b00d1694961cb5136f931551d9736bfa29725
1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -verify -DEXPECT_NO_DIAGNOSTICS %s
2 // RUN: %clang_analyze_cc1 -analyzer-checker=core,debug.ExprInspection -verify=conditional %s \
3 // RUN: -analyzer-config ignore-flex-generated-files=false
5 #ifdef EXPECT_NO_DIAGNOSTICS
6 // expected-no-diagnostics
7 #endif
9 /* A lexical scanner generated by flex */
11 void clang_analyzer_warnIfReached(void);
12 void foo(void) {
13 clang_analyzer_warnIfReached(); // conditional-warning {{REACHABLE}}