clang-cl : Parse all /d2 options
authorHans Wennborg <hans@hanshq.net>
Fri, 8 Mar 2019 10:00:42 +0000 (10:00 +0000)
committerHans Wennborg <hans@hanshq.net>
Fri, 8 Mar 2019 10:00:42 +0000 (10:00 +0000)
commit64852e901a54822c837e5279f4f5af74b98dcedf
tree5d1fd856facecdc2a339f0d316cc3fe524986987
parent890dfddef0f94c71e76f2451b1fa443ae1f0e339
clang-cl : Parse all /d2 options

We will now warn about such options being unused,
which is better than the current
"no such file or directory: '/d2foo'" errors.

Note that we can still handle specific flags separately,
e.g. we were already ignoring /d2FastFail and /d2Zi+

llvm-svn: 355682
clang/include/clang/Driver/CLCompatOptions.td
clang/test/Driver/cl-options.c