]> granicus.if.org Git - clang/commit
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)
commitb44a5edecf19653a9fe2467ec719746b63ff9d05
tree04d27bd248ab90076e6fca4f74b5dbd125e8ba3c
parent2df582cdb843b237cf5085730e85c5f5338d0c9d
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+

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355682 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/CLCompatOptions.td
test/Driver/cl-options.c