[all-commits] [llvm/llvm-project] 48f7f6: [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support ...

fahadnayyar via All-commits all-commits at lists.llvm.org
Mon Dec 9 15:37:31 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48f7f63ac723a5001b74627493d360ff3d8d1186
      https://github.com/llvm/llvm-project/commit/48f7f63ac723a5001b74627493d360ff3d8d1186
  Author: fahadnayyar <30953967+fahadnayyar at users.noreply.github.com>
  Date:   2024-12-09 (Mon, 09 Dec 2024)

  Changed paths:
    M clang/include/clang/APINotes/Types.h
    M clang/lib/APINotes/APINotesFormat.h
    M clang/lib/APINotes/APINotesReader.cpp
    M clang/lib/APINotes/APINotesTypes.cpp
    M clang/lib/APINotes/APINotesWriter.cpp
    M clang/lib/APINotes/APINotesYAMLCompiler.cpp
    M clang/lib/Sema/SemaAPINotes.cpp
    M clang/test/APINotes/Inputs/Headers/SwiftImportAs.apinotes
    M clang/test/APINotes/Inputs/Headers/SwiftImportAs.h
    M clang/test/APINotes/swift-import-as.cpp

  Log Message:
  -----------
  [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support (#118938)

Adding support to APINotes to annotate C++ methods and functions with
`swift_attr("returns_retained")` and `swift_attr("returns_unretained")`

rdar://141007510



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