[all-commits] [llvm/llvm-project] 2c7e24: Guard init_priority attribute within libc++

zibi2 via All-commits all-commits at lists.llvm.org
Fri Nov 20 12:53:45 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c7e24c4b6893a93ddb2b2cca91eaf5bf7956965
      https://github.com/llvm/llvm-project/commit/2c7e24c4b6893a93ddb2b2cca91eaf5bf7956965
  Author: Zbigniew Sarbinowski <zibi at ca.ibm.com>
  Date:   2020-11-20 (Fri, 20 Nov 2020)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/test/SemaCXX/init-priority-attr.cpp
    M libcxx/include/__config
    M libcxx/src/experimental/memory_resource.cpp
    M libcxx/src/iostream.cpp

  Log Message:
  -----------
  Guard init_priority attribute within libc++

Not all platforms support priority attribute. I'm moving conditional definition of this attribute to `include/__config`.

Reviewed By: #libc, aaron.ballman

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




More information about the All-commits mailing list