Partially revert "[cmake] Make MSVC generate appropriate __cplusplus macro definition"
authorTatyana Krasnukha <tatyana@synopsys.com>
Mon, 3 Aug 2020 11:30:12 +0000 (14:30 +0300)
committerTatyana Krasnukha <tatyana@synopsys.com>
Tue, 4 Aug 2020 09:22:11 +0000 (12:22 +0300)
commit4f5ccc72f6a6eba61117806f049ca869233a6864
treef13956dcdcfd6ce305767c250df89dc6e15a6b54
parent0acef82480df05486b52618692ebcab1c9b1f77c
Partially revert "[cmake] Make MSVC generate appropriate __cplusplus macro definition"

The /Zc:__cplusplus option fixes GTEST_LANG_CXX11 value but not GTEST_HAS_TR1_TUPLE,
so we still need to force the latter off.

Still pass the option since it is required by https://reviews.llvm.org/D78186 too.

Differential Revision: https://reviews.llvm.org/D84023
llvm/cmake/modules/AddLLVM.cmake
llvm/utils/unittest/CMakeLists.txt