[PATCH] D87720: Sema: add support for `__attribute__((__swift_private__))`

Dmitri Gribenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 18 14:32:24 PDT 2020


gribozavr2 added inline comments.


================
Comment at: clang/include/clang/Basic/AttrDocs.td:3592
+  let Content = [{
+Objective-C declarations marked with the ``swift_private`` attribute are hidden
+from the framework client but are still made available for use within the
----------------
Please drop the "Objective-C" part.


================
Comment at: clang/include/clang/Basic/AttrDocs.td:3597
+The purpose of this attribute is to permit a more idomatic implementation of
+declarations in Swift.
+  }];
----------------
..., while hiding the non-idiomatic one.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87720/new/

https://reviews.llvm.org/D87720



More information about the cfe-commits mailing list