[all-commits] [llvm/llvm-project] 2a2b3a: [clang-cl] Define _MSVC_LANG for -std=c++2b

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Dec 2 09:09:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a2b3a3e3df7b89e18be9ffab1e08d7ca578cf57
      https://github.com/llvm/llvm-project/commit/2a2b3a3e3df7b89e18be9ffab1e08d7ca578cf57
  Author: Nico Weber <thakis at chromium.org>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M clang/lib/Basic/Targets/OSTargets.cpp
    M clang/test/Preprocessor/predefined-win-macros.c

  Log Message:
  -----------
  [clang-cl] Define _MSVC_LANG for -std=c++2b

This matches the value that msvc v19.29 VS16.11 uses for
_MSVC_LANG with /std:c++latest.

Differential Revision: https://reviews.llvm.org/D114952




More information about the All-commits mailing list