clang-cl: Ignore /Zc:inline and /Zc:rvalueCast
authorReid Kleckner <reid@kleckner.net>
Tue, 1 Jul 2014 18:27:02 +0000 (18:27 +0000)
committerReid Kleckner <reid@kleckner.net>
Tue, 1 Jul 2014 18:27:02 +0000 (18:27 +0000)
commit3ed22c4d4ed84fa1965ce9836e787dc216ea03d5
treeb031c32ce2223deed73a9eb5813cddf899ef92c4
parent9ab8899f5c7f7a024ec7e64ecaca383b5b41d6ae
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
clang/include/clang/Driver/CLCompatOptions.td
clang/test/Driver/cl-options.c