[all-commits] [llvm/llvm-project] 290cdd: Allow __attribute__((swift_attr)) in attribute pus...

Becca Royal-Gordon via All-commits all-commits at lists.llvm.org
Fri Nov 19 13:00:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 290cddcd139d668251821f11426f37481faf6d7f
      https://github.com/llvm/llvm-project/commit/290cddcd139d668251821f11426f37481faf6d7f
  Author: Becca Royal-Gordon <broyalgordon at apple.com>
  Date:   2021-11-19 (Fri, 19 Nov 2021)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/test/AST/attr-swift_attr.m
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test

  Log Message:
  -----------
  Allow __attribute__((swift_attr)) in attribute push pragmas

This change allows SwiftAttr to be used with #pragma clang attribute push
to add Swift attributes to large regions of header files.
We plan to use this to annotate headers with concurrency information.

Patch by: Becca Royal-Gordon

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




More information about the All-commits mailing list