diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-09-14 23:45:07 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2020-09-25 22:33:53 +0000 |
commit | 58cdbf518b6ebaee59d0492375e2e8f7da87ca41 (patch) | |
tree | ad993d494b59e575836741977dbb9ce71251c2d4 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 152ff3772c2bc4463555fb5dbb75f9b0dcc700f5 (diff) | |
download | llvm-58cdbf518b6ebaee59d0492375e2e8f7da87ca41.zip llvm-58cdbf518b6ebaee59d0492375e2e8f7da87ca41.tar.gz llvm-58cdbf518b6ebaee59d0492375e2e8f7da87ca41.tar.bz2 |
Sema: add support for `__attribute__((__swift_private__))`
This attribute allows declarations to be restricted to the framework
itself, enabling Swift to remove the declarations when importing
libraries. This is useful in the case that the functions can be
implemented in a more natural way for Swift.
This is based on the work of the original changes in
https://github.com/llvm/llvm-project-staging/commit/8afaf3aad2af43cfedca7a24cd817848c4e95c0c
Differential Revision: https://reviews.llvm.org/D87720
Reviewed By: Aaron Ballman
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions