aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorPavel Yaskevich <xedin@apache.org>2024-10-31 04:15:22 -0700
committerGitHub <noreply@github.com>2024-10-31 11:15:22 +0000
commitd3daa3c4435a54f7876d0ced81787fea92e77d08 (patch)
treeaf15240c5e52e59378c2cbf8f7f20b0c911cddab /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent95c5042db8f962f382edb09c8f4c514e57c23c4c (diff)
downloadllvm-d3daa3c4435a54f7876d0ced81787fea92e77d08.zip
llvm-d3daa3c4435a54f7876d0ced81787fea92e77d08.tar.gz
llvm-d3daa3c4435a54f7876d0ced81787fea92e77d08.tar.bz2
[clang/AST] Make it possible to use SwiftAttr in type context (#108631)
Swift ClangImporter now supports concurrency annotations on imported declarations and their parameters/results, to make it possible to use imported APIs in Swift safely there has to be a way to annotate individual parameters and result types with relevant attributes that indicate that e.g. a block is called on a particular actor or it accepts a `Sendable` parameter. To faciliate that `SwiftAttr` is switched from `InheritableAttr` which is a declaration attribute to `DeclOrTypeAttr`. To support this attribute in type context we need access to its "Attribute" argument which requires `AttributedType` to be extended to include `Attr *` when available instead of just `attr::Kind` otherwise it won't be possible to determine what attribute should be imported.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions