[all-commits] [llvm/llvm-project] 9cf9cb: [clang] Upstream visionOS Availability & DarwinSDK...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Thu Mar 7 13:06:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9cf9cb271bf86bda4996be9a31fa413381f2f5e3
      https://github.com/llvm/llvm-project/commit/9cf9cb271bf86bda4996be9a31fa413381f2f5e3
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2024-03-07 (Thu, 07 Mar 2024)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/DarwinSDKInfo.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseExpr.cpp
    A clang/test/CodeGen/attr-availability-visionos.c
    A clang/test/Sema/attr-availability-visionos.c
    M clang/unittests/Basic/DarwinSDKInfoTest.cpp

  Log Message:
  -----------
  [clang] Upstream visionOS Availability & DarwinSDKInfo APIs (#84279)

Admittedly a bit awkward, `visionos` is the correct and accepted
spelling for annotating availability for xrOS target triples. This patch
detects errors and handles cases when `xros` is mistakenly passed.
In addition, add APIs for introduced/deprecated/obsoleted versioning in
DarwinSDKInfo mappings.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list