[all-commits] [llvm/llvm-project] 7f9837: [Headers][MSVC] Define wchar_t in stddef.h like MS...

Stephen Long via All-commits all-commits at lists.llvm.org
Thu May 12 09:38:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f9837cfa63663ccd51da3e5de73acec8f776ee8
      https://github.com/llvm/llvm-project/commit/7f9837cfa63663ccd51da3e5de73acec8f776ee8
  Author: Stephen Long <steplong at quicinc.com>
  Date:   2022-05-12 (Thu, 12 May 2022)

  Changed paths:
    M clang/lib/Headers/stddef.h
    A clang/test/Headers/ms-no-wchar.cpp

  Log Message:
  -----------
  [Headers][MSVC] Define wchar_t in stddef.h like MSVC if not using the builtin type

 MSVC expects wchar_t to be defined in stddef.h if /Zc:wchar_t- is specified

Reviewed By: efriedma

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




More information about the All-commits mailing list