[all-commits] [llvm/llvm-project] 0bc451: [libc++] Fix incorrect availability markup for bad...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Mar 16 06:03:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bc451e7e137c4ccadcd3377250874f641ca514a
      https://github.com/llvm/llvm-project/commit/0bc451e7e137c4ccadcd3377250874f641ca514a
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-03-16 (Wed, 16 Mar 2022)

  Changed paths:
    M libcxx/include/__availability

  Log Message:
  -----------
  [libc++] Fix incorrect availability markup for bad_optional_access & friends

In 7fb40e1569d, I changed the availability for bad_optional_access and
friends from macOS 10.14 to 10.13 after conducting an investigation on
old dylibs. It turns out that macOS 10.13 did have bad_optional_access,
however the dylib on iOS didn't match the dylib on macOS, so those
exception classes were only introduced in iOS 12.

Thanks to Aditya Kumar for noticing this.

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




More information about the All-commits mailing list