]> granicus.if.org Git - clang/commit
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)
commit59819d42357084dc2addccf624f3af34be510f0e
tree806bc4d4d14e903d9f77999996537ef236c8d691
parente3a5fc33bcba90ed44880000bacd30df0001cc53
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.

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