summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2015-09-18 20:49:33 +0000
committerNico Weber <nicolasweber@gmx.de>2015-09-18 20:49:33 +0000
commit4cc796a6149840ab1bcad8e8b82004156923db39 (patch)
tree8ca6605a200bae288e158cf423c52dba914d4e2a /clang/test
parent4859773a9538b28622d9cd92d8bf2dc5ac69a833 (diff)
downloadbcm5719-llvm-4cc796a6149840ab1bcad8e8b82004156923db39.tar.gz
bcm5719-llvm-4cc796a6149840ab1bcad8e8b82004156923db39.zip
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. llvm-svn: 248034
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/cl-options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index a52a3692694..7e2c7a48c25 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -221,6 +221,7 @@
// Ignored options. Check that we don't get "unused during compilation" errors.
// RUN: %clang_cl /c \
// RUN: /analyze- \
+// RUN: /bigobj \
// RUN: /cgthreads4 \
// RUN: /cgthreads8 \
// RUN: /d2Zi+ \
OpenPOWER on IntegriCloud