[all-commits] [llvm/llvm-project] 4f24d0: Fix libc++ clang-cl build, swap attribute order

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Jan 15 11:45:17 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f24d0dd5386cc0ff61be23062b89855da87094b
      https://github.com/llvm/llvm-project/commit/4f24d0dd5386cc0ff61be23062b89855da87094b
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M libcxx/include/__locale
    M libcxx/src/locale.cpp

  Log Message:
  -----------
  Fix libc++ clang-cl build, swap attribute order

Clang insists that __attribute__ attributes precede __declspec
attributes. This is a longstanding known issue:
https://llvm.org/pr24559. Re-order the visibility and deprecation macros
to fix the build.

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




More information about the All-commits mailing list