[all-commits] [llvm/llvm-project] 83a038: [libcxx] Add missing _LIBCPP_FUNC_VIS on a few win...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Nov 18 01:06:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 83a03867da128bf9410ae15eb451500ed8c800f5
      https://github.com/llvm/llvm-project/commit/83a03867da128bf9410ae15eb451500ed8c800f5
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-11-18 (Wed, 18 Nov 2020)

  Changed paths:
    M libcxx/include/support/win32/locale_win32.h

  Log Message:
  -----------
  [libcxx] Add missing _LIBCPP_FUNC_VIS on a few win32 locale functions

These functions are called directly from the public installed
headers, and thus need to be exported in DLL builds, just like
some other functions in the same header (e.g. snprintf_l).

This fixes e.g. test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_float.pass.cpp
in mingw configurations.

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




More information about the All-commits mailing list