[all-commits] [llvm/llvm-project] a13417: [libc++] Properly mark std::function as deprecated...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 10 14:45:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a13417352ade3bf2ef68cabcde1dc480746644ad
      https://github.com/llvm/llvm-project/commit/a13417352ade3bf2ef68cabcde1dc480746644ad
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M libcxx/include/__functional_03
    M libcxx/include/functional
    A libcxx/test/libcxx/utilities/function.objects/func.wrap/depr_in_cxx03.fail.cpp

  Log Message:
  -----------
  [libc++] Properly mark std::function as deprecated in C++03

Due to Clang bug http://llvm.org/PR45151, deprecated attributes are not
picked up on partial specializations. This patch instead applies it to
the first declaration of std::function itself.




More information about the All-commits mailing list