[all-commits] [llvm/llvm-project] 4f5ccc: Partially revert "[cmake] Make MSVC generate appro...

Tatyana Krasnukha via All-commits all-commits at lists.llvm.org
Tue Aug 4 02:22:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f5ccc72f6a6eba61117806f049ca869233a6864
      https://github.com/llvm/llvm-project/commit/4f5ccc72f6a6eba61117806f049ca869233a6864
  Author: Tatyana Krasnukha <tatyana at synopsys.com>
  Date:   2020-08-04 (Tue, 04 Aug 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/utils/unittest/CMakeLists.txt

  Log Message:
  -----------
  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




More information about the All-commits mailing list