[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / Analysis / iterator-modeling-no-aggressive-binary-operation-simplification-no-crash.cpp
blob4b7c52db546278a37545ffd18ad5a062b0df2b1b
1 // RUN: %clang_analyze_cc1 -std=c++11\
2 // RUN: -analyzer-checker=core,cplusplus,debug.DebugIteratorModeling,debug.ExprInspection\
3 // RUN: %s 2>&1 | FileCheck %s
5 // XFAIL: *
7 // CHECK: checker cannot be enabled with analyzer option 'aggressive-binary-operation-simplification' == false
9 #include "Inputs/system-header-simulator-cxx.h"
11 void clang_analyzer_eval(bool);
13 void comparison(std::vector<int> &V) {
14 clang_analyzer_eval(V.begin() == V.end()); // no-crash