]> granicus.if.org Git - clang/commit
clang-cl: Don't warn on /bigobj flag
authorNico Weber <nicolasweber@gmx.de>
Fri, 18 Sep 2015 20:49:33 +0000 (20:49 +0000)
committerNico Weber <nicolasweber@gmx.de>
Fri, 18 Sep 2015 20:49:33 +0000 (20:49 +0000)
commit8191db75b5224b9723f511a6afed57fab6cdcaa7
tree88340f18c59fcd2edceb2bccc3200f1c4f834482
parentfe5660c7fe9d070a7542c7279850cfb2486f0f64
clang-cl: Don't warn on /bigobj flag

LLVM r217812 made it so that clang-cl implicitly creates bigobj files when
needed, independent of this flag. It looks like cl has this flag to produce obj
flags compatible with MSVS 2003's linker by default, something we don't care
about. Since clang-cl always has /bigobj behavior, don't warn that the flag is
unused, just ignore it silently.

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