summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/cl-options.c
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-07-01 18:27:02 +0000
committerReid Kleckner <reid@kleckner.net>2014-07-01 18:27:02 +0000
commit3ed22c4d4ed84fa1965ce9836e787dc216ea03d5 (patch)
treeb031c32ce2223deed73a9eb5813cddf899ef92c4 /clang/test/Driver/cl-options.c
parent9ab8899f5c7f7a024ec7e64ecaca383b5b41d6ae (diff)
downloadbcm5719-llvm-3ed22c4d4ed84fa1965ce9836e787dc216ea03d5.tar.gz
bcm5719-llvm-3ed22c4d4ed84fa1965ce9836e787dc216ea03d5.zip
clang-cl: Ignore /Zc:inline and /Zc:rvalueCast
These flags enable behavior in MSVC that Clang has by default. /Zc:inline essentially marks all COMDATs as discardable. In LLVM parlance, this means using linkonce_odr linkage, which is what we already do. llvm-svn: 212117
Diffstat (limited to 'clang/test/Driver/cl-options.c')
-rw-r--r--clang/test/Driver/cl-options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/cl-options.c b/clang/test/Driver/cl-options.c
index 38cbb347c6b..cd98ec3b72f 100644
--- a/clang/test/Driver/cl-options.c
+++ b/clang/test/Driver/cl-options.c
@@ -178,6 +178,8 @@
// RUN: /wd1234 \
// RUN: /Zc:forScope \
// RUN: /Zc:wchar_t \
+// RUN: /Zc:inline \
+// RUN: /Zc:rvalueCast \
// RUN: -### -- %s 2>&1 | FileCheck -check-prefix=IGNORED %s
// IGNORED-NOT: argument unused during compilation
OpenPOWER on IntegriCloud