summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2024-07-29 19:43:50 +0300
committerGitHub <noreply@github.com>2024-07-29 18:43:50 +0200
commit150bf637baad2ba4df6369600b65d897ed9b31a7 (patch)
tree84938c15bfb583e6fd5a4150b10ca7f8f8b903b5 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentee57ce57d8094026e2795182758bc57027a72293 (diff)
[Clang][Sema] Disallow applying `onwership_returns` to functions that return non-pointers (#99564)
`onwership_returns` works only with pointers, since it models user-defined memory allocation functions. Make semantics more clear and report an error if attribute is attached to wrong function. Closes #99501
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions