[clang-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git] / clang / test / CodeGenCXX / cfi-icall-noexcept.cpp
blobeabc4862b4c52d9c89309772745e0d934bc9ae81
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fsanitize=cfi-icall -emit-llvm -std=c++17 -o - %s | FileCheck %s
3 // Tests that exception specifiers are stripped when forming the
4 // mangled CFI type name.
6 void f() noexcept {}
8 // CHECK: define{{.*}} void @_Z1fv({{.*}} !type [[TS1:![0-9]+]] !type [[TS2:![0-9]+]]
10 // CHECK: [[TS1]] = !{i64 0, !"_ZTSFvvE"}
11 // CHECK: [[TS2]] = !{i64 0, !"_ZTSFvvE.generalized"}