[clang-cl] Ignore /Wv and /Wv:17 flags
commit67d9276b16024bae66dfc2fcb739d947637b8c52
authorTobias Hieta <tobias@hieta.se>
Wed, 23 Mar 2022 09:21:36 +0000 (23 10:21 +0100)
committerTobias Hieta <tobias@hieta.se>
Thu, 24 Mar 2022 08:42:34 +0000 (24 09:42 +0100)
tree8bc189654196b894d9a89bc31e691454e0b795bb
parentca46521a4d567ca808907d33a31b57d3097d34fa
[clang-cl] Ignore /Wv and /Wv:17 flags

MSVC supports passing /Wv and /Wv:17 to ignore warnings added
since that version. Clang doesn't have a option like this - but
we can ignore this flag instead of error.

MSVC documentation: https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level

Reviewed By: hans, mstorsjo

Differential Revision: https://reviews.llvm.org/D122298
clang/include/clang/Driver/Options.td
clang/test/Driver/cl-options.c